@@ -12,7 +12,7 @@ |
||
12 | 12 | class UseRuleSet implements Rule |
13 | 13 | { |
14 | 14 | public function __construct( |
15 | - private object|string $objectOrClass, |
|
15 | + private object | string $objectOrClass, |
|
16 | 16 | private string $property |
17 | 17 | ) { |
18 | 18 | } |
@@ -29,8 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | return |
31 | 31 | $this->isValid($input, $context) ? |
32 | - ErrorReporting::success() : |
|
33 | - (new ErrorReporting)->addError($this->message, $this->getField(), $this); |
|
32 | + ErrorReporting::success() : (new ErrorReporting)->addError($this->message, $this->getField(), $this); |
|
34 | 33 | } |
35 | 34 | |
36 | 35 | protected function className(): string |