@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | if (strtolower($api->method_type) == 'get' && $httpbuilder) { |
| 79 | 79 | $httpbuilder = "?".http_build_query($httpbuilder); |
| 80 | - }else{ |
|
| 80 | + } else { |
|
| 81 | 81 | $httpbuilder = ''; |
| 82 | 82 | } |
| 83 | 83 | |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | $type_field = DbInspector::getFieldTypes($table, $ro); |
| 201 | 201 | $new_result[] = ['name' => $ro, 'type' => $this->getFieldType($ro, $type_field)]; |
| 202 | 202 | |
| 203 | - if (!in_array($type, ['list', 'detail']) || !starts_with($ro, 'id_') ) { |
|
| 203 | + if (!in_array($type, ['list', 'detail']) || !starts_with($ro, 'id_')) { |
|
| 204 | 204 | continue; |
| 205 | 205 | } |
| 206 | 206 | $table2 = substr($ro, 3); |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | { |
| 272 | 272 | $json = []; |
| 273 | 273 | for ($i = 0, $_count = count($params_name); $i <= $_count; $i++) { |
| 274 | - if (! $params_name[$i]) { |
|
| 274 | + if (!$params_name[$i]) { |
|
| 275 | 275 | continue; |
| 276 | 276 | } |
| 277 | 277 | $json[] = [ |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | { |
| 298 | 298 | $json = []; |
| 299 | 299 | for ($i = 0, $_count = count($responses_name); $i <= $_count; $i++) { |
| 300 | - if (! $responses_name[$i]) { |
|
| 300 | + if (!$responses_name[$i]) { |
|
| 301 | 301 | continue; |
| 302 | 302 | } |
| 303 | 303 | $json[] = [ |