@@ -22,7 +22,9 @@ discard block |
||
| 22 | 22 | { |
| 23 | 23 | public function testListenWithJobTypeFromConfig(): void |
| 24 | 24 | { |
| 25 | - $handler = new class($this->createMock(InvokerInterface::class)) extends JobHandler {}; |
|
| 25 | + $handler = new class($this->createMock(InvokerInterface::class)) extends JobHandler |
|
| 26 | + { |
|
| 27 | +}; |
|
| 26 | 28 | |
| 27 | 29 | $container = new Container(); |
| 28 | 30 | $container->bind('test', new PhpSerializer()); |
@@ -58,7 +60,9 @@ discard block |
||
| 58 | 60 | |
| 59 | 61 | public function testListenWithJobTypeFromAttribute(): void |
| 60 | 62 | { |
| 61 | - $handler = new class($this->createMock(InvokerInterface::class)) extends JobHandler {}; |
|
| 63 | + $handler = new class($this->createMock(InvokerInterface::class)) extends JobHandler |
|
| 64 | + { |
|
| 65 | +}; |
|
| 62 | 66 | |
| 63 | 67 | $container = new Container(); |
| 64 | 68 | $container->bind('test', new PhpSerializer()); |
@@ -94,7 +98,9 @@ discard block |
||
| 94 | 98 | |
| 95 | 99 | public function testListenWithJobTypeFromClass(): void |
| 96 | 100 | { |
| 97 | - $handler = new class($this->createMock(InvokerInterface::class)) extends JobHandler {}; |
|
| 101 | + $handler = new class($this->createMock(InvokerInterface::class)) extends JobHandler |
|
| 102 | + { |
|
| 103 | +}; |
|
| 98 | 104 | |
| 99 | 105 | $container = new Container(); |
| 100 | 106 | $container->bind('test', new PhpSerializer()); |