We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | */ |
21 | 21 | class BaseField extends BaseComponent |
22 | 22 | { |
23 | - public function __construct(string|array $attributes) |
|
23 | + public function __construct(string | array $attributes) |
|
24 | 24 | { |
25 | 25 | $collection = new FieldCollection($attributes, static::attributes(), static::rules(), static::defaults(), static::blocked()); |
26 | 26 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | ]; |
45 | 45 | } |
46 | 46 | |
47 | - public static function make(string|array $attributes): static |
|
47 | + public static function make(string | array $attributes): static |
|
48 | 48 | { |
49 | 49 | return new static($attributes); |
50 | 50 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | return new static($attributes); |
17 | 17 | } |
18 | 18 | |
19 | - public static function make(string|array $name): SmartComponentInterface |
|
19 | + public static function make(string | array $name): SmartComponentInterface |
|
20 | 20 | { |
21 | 21 | $attributes = new BaseCollection($name, static::attributes(), static::rules(), static::defaults(), static::blocked()); |
22 | 22 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | |
31 | 31 | public function __call($name, $arguments) |
32 | 32 | { |
33 | - if (! method_exists($this, $name)) { |
|
33 | + if (!method_exists($this, $name)) { |
|
34 | 34 | if ($this->isAttributeBlocked($name)) { |
35 | 35 | throw new \Exception("Attribute {$name} cannot be changed in this component."); |
36 | 36 | } |