Browse Source

formatting

Maurits van der Schee 5 years ago
parent
commit
5e956f798a
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      api.php
  2. 1
    1
      src/Tqdev/PhpCrudApi/OpenApi/OpenApiBuilder.php

+ 1
- 1
api.php View File

@@ -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 View File

@@ -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…
Cancel
Save