@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | public function testInvalidCallbackThrowsTypeError(): void |
| 39 | 39 | { |
| 40 | - $handler = new CallableHandler(function (): void { |
|
| 40 | + $handler = new CallableHandler(function(): void { |
|
| 41 | 41 | }); |
| 42 | 42 | $this->expectException(\TypeError::class); |
| 43 | 43 | $handler->handle($this->serverRequest->reveal()); |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | public function testHandleReturnsCallbackResponse(): void |
| 47 | 47 | { |
| 48 | 48 | $response = $this->response; |
| 49 | - $callback = function () use ($response) { |
|
| 49 | + $callback = function() use ($response) { |
|
| 50 | 50 | return $response->reveal(); |
| 51 | 51 | }; |
| 52 | 52 | $handler = new CallableHandler($callback); |