@@ -178,7 +178,7 @@ |
||
| 178 | 178 | mixed $data, |
| 179 | 179 | int $code = 200, |
| 180 | 180 | string $reasonPhrase = '', |
| 181 | - int $flags = JSON_UNESCAPED_SLASHES | JSON_THROW_ON_ERROR, |
|
| 181 | + int $flags = JSON_UNESCAPED_SLASHES|JSON_THROW_ON_ERROR, |
|
| 182 | 182 | ): static { |
| 183 | 183 | if ($data instanceof Traversable) { |
| 184 | 184 | $body = json_encode(iterator_to_array($data), $flags); |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | return $this->handle( |
| 18 | 18 | new Request($request), |
| 19 | - function (Request $request) use ($handler): Response { |
|
| 19 | + function(Request $request) use ($handler): Response { |
|
| 20 | 20 | return new Response($handler->handle($request->unwrap())); |
| 21 | 21 | } |
| 22 | 22 | )->unwrap(); |