We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | { |
18 | 18 | $entry = CrudPanelFacade::getCurrentEntry(); |
19 | 19 | |
20 | - if (! Arr::has($this->data, $attribute)) { |
|
20 | + if (!Arr::has($this->data, $attribute)) { |
|
21 | 21 | $attributeValueForDataArray = null; |
22 | 22 | $requestAttributeValue = Arr::get($this->data, '_order_'.$attribute); |
23 | 23 | if ($entry && Str::contains($attribute, '.')) { |
@@ -28,14 +28,14 @@ discard block |
||
28 | 28 | |
29 | 29 | $fieldErrors = $this->validateFieldRules($attribute, $value); |
30 | 30 | |
31 | - if (! empty($value) && ! empty($this->getFileRules())) { |
|
31 | + if (!empty($value) && !empty($this->getFileRules())) { |
|
32 | 32 | $fileErrors = $this->validateFileRules($attribute, $value); |
33 | 33 | } |
34 | 34 | |
35 | 35 | return array_merge($fieldErrors, $fileErrors ?? []); |
36 | 36 | } |
37 | 37 | |
38 | - public static function field(string|array|ValidationRule|Rule $rules = []): self |
|
38 | + public static function field(string | array | ValidationRule | Rule $rules = []): self |
|
39 | 39 | { |
40 | 40 | return parent::field($rules); |
41 | 41 | } |