@@ -89,7 +89,7 @@ |
||
89 | 89 | if ($type instanceof ReflectionNamedType) { |
90 | 90 | try { |
91 | 91 | return $this->registry->get(ltrim($type->getName(), '?')); |
92 | - } catch (NotFoundException | ContainerException $e) { |
|
92 | + } catch (NotFoundException|ContainerException $e) { |
|
93 | 93 | if ($param->isDefaultValueAvailable()) { |
94 | 94 | return $param->getDefaultValue(); |
95 | 95 | } |
@@ -39,7 +39,7 @@ |
||
39 | 39 | if ($handler instanceof Middleware) { |
40 | 40 | return $handler( |
41 | 41 | $request, |
42 | - function (Request $req) use ($queue): Response { |
|
42 | + function(Request $req) use ($queue): Response { |
|
43 | 43 | return new Response($this->handle(array_slice($queue, 1), $req), $this->factory); |
44 | 44 | } |
45 | 45 | )->psr(); |
@@ -175,7 +175,7 @@ |
||
175 | 175 | mixed $data, |
176 | 176 | int $code = 200, |
177 | 177 | string $reasonPhrase = '', |
178 | - int $flags = JSON_UNESCAPED_SLASHES | JSON_THROW_ON_ERROR, |
|
178 | + int $flags = JSON_UNESCAPED_SLASHES|JSON_THROW_ON_ERROR, |
|
179 | 179 | ): static { |
180 | 180 | if ($data instanceof Traversable) { |
181 | 181 | $body = json_encode(iterator_to_array($data), $flags); |