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 | |