@@ -48,7 +48,8 @@ |
||
| 48 | 48 | |
| 49 | 49 | function it_throws_an_exception_if_constraint_is_not_of_expected_type(): void |
| 50 | 50 | { |
| 51 | - $this->shouldThrow(\InvalidArgumentException::class)->during('validate', ['', new class() extends Constraint { |
|
| 51 | + $this->shouldThrow(\InvalidArgumentException::class)->during('validate', ['', new class() extends Constraint |
|
| 52 | + { |
|
| 52 | 53 | }]); |
| 53 | 54 | } |
| 54 | 55 | |