Passed
Push — main ( 3c3dd7...47074e )
by Thomas
13:06
created
src/Di/Resolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.
src/Http/Dispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.