Maurits van der Schee hace 5 años
padre
commit
5e956f798a
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      api.php
  2. 1
    1
      src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php

+ 1
- 1
api.php Ver fichero

@@ -3857,7 +3857,7 @@ class OpenApiBuilder
3857 3857
         $this->openapi->set("components|responses|rows_affected|content|application/json|schema|format", "int64");
3858 3858
         $tableReferences = $this->getAllTableReferences();
3859 3859
         foreach ($tableNames as $tableName) {
3860
-            $references = isset($tableReferences[$tableName])?$tableReferences[$tableName]:array();
3860
+            $references = isset($tableReferences[$tableName]) ? $tableReferences[$tableName] : array();
3861 3861
             $this->setComponentSchema($tableName, $references);
3862 3862
             $this->setComponentResponse($tableName);
3863 3863
             $this->setComponentRequestBody($tableName);

+ 1
- 1
src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php Ver fichero

@@ -90,7 +90,7 @@ class OpenApiBuilder
90 90
         $this->openapi->set("components|responses|rows_affected|content|application/json|schema|format", "int64");
91 91
         $tableReferences = $this->getAllTableReferences();
92 92
         foreach ($tableNames as $tableName) {
93
-            $references = isset($tableReferences[$tableName])?$tableReferences[$tableName]:array();
93
+            $references = isset($tableReferences[$tableName]) ? $tableReferences[$tableName] : array();
94 94
             $this->setComponentSchema($tableName, $references);
95 95
             $this->setComponentResponse($tableName);
96 96
             $this->setComponentRequestBody($tableName);

Loading…
Cancelar
Guardar