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