@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | $type_field = \Schema::getColumnType($table, $row); |
39 | 39 | $newResult[] = ['name' => $row, 'type' => $this->getFieldType($row, $type_field)]; |
40 | 40 | |
41 | - if (! in_array($type, ['list', 'detail']) || ! starts_with($row, 'id_')) { |
|
41 | + if (!in_array($type, ['list', 'detail']) || !starts_with($row, 'id_')) { |
|
42 | 42 | continue; |
43 | 43 | } |
44 | 44 | |
@@ -84,8 +84,8 @@ discard block |
||
84 | 84 | } |
85 | 85 | $table2 = substr($ro, 3); |
86 | 86 | $columns = DB::getSchemaBuilder()->getColumnListing($table2); |
87 | - $columns = array_filter($columns, function ($col) { |
|
88 | - return ! FieldDetector::isExceptional($col); |
|
87 | + $columns = array_filter($columns, function($col) { |
|
88 | + return !FieldDetector::isExceptional($col); |
|
89 | 89 | }); |
90 | 90 | |
91 | 91 | foreach ($columns as $col) { |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | { |
184 | 184 | $json = []; |
185 | 185 | for ($i = 0, $_count = count($params_name); $i <= $_count; $i++) { |
186 | - if (! $params_name[$i]) { |
|
186 | + if (!$params_name[$i]) { |
|
187 | 187 | continue; |
188 | 188 | } |
189 | 189 | $json[] = [ |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $json = []; |
211 | 211 | for ($i = 0, $_count = count($responses_name); $i <= $_count; $i++) { |
212 | - if (! $responses_name[$i]) { |
|
212 | + if (!$responses_name[$i]) { |
|
213 | 213 | continue; |
214 | 214 | } |
215 | 215 | $json[] = [ |