@@ -27,8 +27,7 @@ |
||
| 27 | 27 | { |
| 28 | 28 | return |
| 29 | 29 | $this->isValid($input, $context) ? |
| 30 | - ErrorReporting::success() : |
|
| 31 | - (new ErrorReporting)->addError($this->message, $this->getField(), $this); |
|
| 30 | + ErrorReporting::success() : (new ErrorReporting)->addError($this->message, $this->getField(), $this); |
|
| 32 | 31 | } |
| 33 | 32 | |
| 34 | 33 | private function className(): string |