We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | // TODO |
166 | 166 | } |
167 | 167 | |
168 | - /* |
|
168 | + /* |
|
169 | 169 | |-------------------------------------------------------------------------- |
170 | 170 | | READ |
171 | 171 | |-------------------------------------------------------------------------- |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | $this->details_row = false; |
247 | 247 | } |
248 | 248 | |
249 | - /* |
|
249 | + /* |
|
250 | 250 | |-------------------------------------------------------------------------- |
251 | 251 | | UPDATE |
252 | 252 | |-------------------------------------------------------------------------- |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | return $fields; |
307 | 307 | } |
308 | 308 | |
309 | - /* |
|
309 | + /* |
|
310 | 310 | |-------------------------------------------------------------------------- |
311 | 311 | | DELETE |
312 | 312 | |-------------------------------------------------------------------------- |
@@ -391,7 +391,7 @@ discard block |
||
391 | 391 | return $this->reorder; |
392 | 392 | } |
393 | 393 | |
394 | - /* |
|
394 | + /* |
|
395 | 395 | |-------------------------------------------------------------------------- |
396 | 396 | | CRUD ACCESS |
397 | 397 | |-------------------------------------------------------------------------- |
@@ -921,7 +921,7 @@ discard block |
||
921 | 921 | { |
922 | 922 | $this->getDbColumnTypes(); |
923 | 923 | |
924 | - array_map(function ($field) { |
|
924 | + array_map(function($field) { |
|
925 | 925 | // $this->labels[$field] = $this->makeLabel($field); |
926 | 926 | |
927 | 927 | $new_field = [ |
@@ -1182,7 +1182,7 @@ discard block |
||
1182 | 1182 | */ |
1183 | 1183 | public function getFirstOfItsTypeInArray($type, $array) |
1184 | 1184 | { |
1185 | - return array_first($array, function ($key, $item) use ($type) { |
|
1185 | + return array_first($array, function($key, $item) use ($type) { |
|
1186 | 1186 | return $item['type'] == $type; |
1187 | 1187 | }); |
1188 | 1188 | } |
@@ -1260,7 +1260,7 @@ discard block |
||
1260 | 1260 | public function sync($type, $fields, $attributes) |
1261 | 1261 | { |
1262 | 1262 | if (!empty($this->{$type})) { |
1263 | - $this->{$type} = array_map(function ($field) use ($fields, $attributes) { |
|
1263 | + $this->{$type} = array_map(function($field) use ($fields, $attributes) { |
|
1264 | 1264 | if (in_array($field['name'], (array) $fields)) { |
1265 | 1265 | $field = array_merge($field, $attributes); |
1266 | 1266 | } |
@@ -1286,7 +1286,7 @@ discard block |
||
1286 | 1286 | } |
1287 | 1287 | } |
1288 | 1288 | |
1289 | - return $this->{$items} = array_merge($elements, array_filter($this->{$items}, function ($item) use ($items) {return !in_array($item['name'], $this->sort[$items]); })); |
|
1289 | + return $this->{$items} = array_merge($elements, array_filter($this->{$items}, function($item) use ($items) {return !in_array($item['name'], $this->sort[$items]); })); |
|
1290 | 1290 | } |
1291 | 1291 | |
1292 | 1292 | return $this->{$items}; |