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