@@ -24,6 +24,9 @@ |
||
24 | 24 | return new self( $text, self::SEVERITY_ERROR, $property, $code, $params ); |
25 | 25 | } |
26 | 26 | |
27 | + /** |
|
28 | + * @param null|string $property |
|
29 | + */ |
|
27 | 30 | protected function __construct( string $text, int $severity, ?string $property, string $code, array $params ) { |
28 | 31 | $this->text = $text; |
29 | 32 | $this->severity = $severity; |