Passed
Push — master ( 74361b...e1642a )
by Anatoly
04:30 queued 01:45
created
src/Loader/CollectableFileLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         );
87 87
 
88 88
         foreach ($this->resources as $resource) {
89
-            (function () use ($resource) {
89
+            (function() use ($resource) {
90 90
                 require $resource;
91 91
             })->call($collect);
92 92
         }
Please login to merge, or discard this patch.
src/Loader/DescriptorDirectoryLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@
 block discarded – undo
255 255
             $descriptors[$class] = $descriptor;
256 256
         }
257 257
 
258
-        uasort($descriptors, function ($a, $b) {
258
+        uasort($descriptors, function($a, $b) {
259 259
             return $b->getPriority() <=> $a->getPriority();
260 260
         });
261 261
 
Please login to merge, or discard this patch.
src/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
     public function run(ServerRequestInterface $request) : ResponseInterface
289 289
     {
290 290
         // lazy resolving of the given request...
291
-        $routing = new CallableRequestHandler(function (ServerRequestInterface $request) : ResponseInterface {
291
+        $routing = new CallableRequestHandler(function(ServerRequestInterface $request) : ResponseInterface {
292 292
             return $this->match($request)->handle($request);
293 293
         });
294 294
 
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
     {
319 319
         try {
320 320
             return $this->handle($request);
321
-        } catch (MethodNotAllowedException|RouteNotFoundException $e) {
321
+        } catch (MethodNotAllowedException | RouteNotFoundException $e) {
322 322
             $request = $request->withAttribute(self::ATTR_NAME_FOR_ROUTING_ERROR, $e);
323 323
 
324 324
             return $handler->handle($request);
Please login to merge, or discard this patch.