@@ -27,8 +27,9 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(?string $text) |
| 29 | 29 | { |
| 30 | - if (empty($text)) |
|
| 31 | - throw new EmptyRequiredValue(); |
|
| 30 | + if (empty($text)) { |
|
| 31 | + throw new EmptyRequiredValue(); |
|
| 32 | + } |
|
| 32 | 33 | |
| 33 | 34 | $this->value = $text; |
| 34 | 35 | } |