@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | /** @inheritDoc */ |
55 | 55 | public function validate(mixed $input, array $context = []): ErrorReporting |
56 | 56 | { |
57 | - if (! $this->shouldValidate($input)) { |
|
57 | + if (!$this->shouldValidate($input)) { |
|
58 | 58 | return ErrorReporting::success(); |
59 | 59 | } |
60 | 60 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | |
79 | 79 | private function stopSign(Rule $rule, Result $result): int |
80 | 80 | { |
81 | - if (! $rule instanceof Stoppable) { |
|
81 | + if (!$rule instanceof Stoppable) { |
|
82 | 82 | return Stoppable::DONT_STOP; |
83 | 83 | } |
84 | 84 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | protected function setStopSign(int $stopSign): void |
21 | 21 | { |
22 | - if (! in_array($stopSign, [Stoppable::DONT_STOP, Stoppable::ALL, Stoppable::SAME_FIELD])) { |
|
22 | + if (!in_array($stopSign, [Stoppable::DONT_STOP, Stoppable::ALL, Stoppable::SAME_FIELD])) { |
|
23 | 23 | throw new InvalidArgumentException(sprintf('Invalid stop sign (%s)', $stopSign)); |
24 | 24 | } |
25 | 25 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | use BelongsToField, StopOnFailure, Priority; |
21 | 21 | |
22 | 22 | public function __construct( |
23 | - private object|string $objectOrClass, |
|
23 | + private object | string $objectOrClass, |
|
24 | 24 | private string $property, |
25 | 25 | int $stopOnFailure = Stoppable::DONT_STOP, |
26 | 26 | int $priority = Prioritable::LOWEST_PRIORITY |