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