We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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}; |