@@ -28,7 +28,8 @@ |
||
| 28 | 28 | |
| 29 | 29 | public function setUp(): void |
| 30 | 30 | { |
| 31 | - $this->trait = new class { |
|
| 31 | + $this->trait = new class |
|
| 32 | + { |
|
| 32 | 33 | use GuardedTrait; |
| 33 | 34 | }; |
| 34 | 35 | $this->guard = $this->createMock(GuardInterface::class); |
@@ -21,7 +21,8 @@ |
||
| 21 | 21 | |
| 22 | 22 | public function setUp(): void |
| 23 | 23 | { |
| 24 | - $this->trait = new class { |
|
| 24 | + $this->trait = new class |
|
| 25 | + { |
|
| 25 | 26 | use LimitsTrait; |
| 26 | 27 | }; |
| 27 | 28 | } |