We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | // append the field name to the rule name of validationMessages array. |
| 251 | 251 | // eg: ['required => 'This field is required'] |
| 252 | 252 | // will be transformed into: ['field_name.required' => 'This field is required] |
| 253 | - $this->crud()->setValidationFromArray([], array_merge(...array_map(function ($rule, $message) { |
|
| 253 | + $this->crud()->setValidationFromArray([], array_merge(...array_map(function($rule, $message) { |
|
| 254 | 254 | return [$this->attributes['name'].'.'.$rule => $message]; |
| 255 | 255 | }, array_keys($messages), $messages))); |
| 256 | 256 | |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | { |
| 438 | 438 | $macro = static::$macros[$method] ?? null; |
| 439 | 439 | |
| 440 | - if(! $macro) { |
|
| 440 | + if (!$macro) { |
|
| 441 | 441 | $this->setAttributeValue($method, $parameters[0]); |
| 442 | 442 | |
| 443 | 443 | return $this->save(); |