We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -245,7 +245,7 @@ |
||
245 | 245 | // append the field name to the rule name of validationMessages array. |
246 | 246 | // eg: ['required => 'This field is required'] |
247 | 247 | // will be transformed into: ['field_name.required' => 'This field is required] |
248 | - $this->crud()->setValidationFromArray([], array_merge(...array_map(function ($rule, $message) { |
|
248 | + $this->crud()->setValidationFromArray([], array_merge(...array_map(function($rule, $message) { |
|
249 | 249 | return [$this->attributes['name'].'.'.$rule => $message]; |
250 | 250 | }, array_keys($messages), $messages))); |
251 | 251 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function subfields($subfields) |
15 | 15 | { |
16 | - $callAttributeMacro = ! isset($this->attributes['subfields']); |
|
16 | + $callAttributeMacro = !isset($this->attributes['subfields']); |
|
17 | 17 | $this->attributes['subfields'] = $subfields; |
18 | 18 | $this->attributes = $this->crud()->makeSureFieldHasNecessaryAttributes($this->attributes); |
19 | 19 | if ($callAttributeMacro) { |