Passed
Push — main ( 84055a...bdbcc4 )
by Thomas
02:45
created
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Middleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.