Test Failed
Pull Request — master (#74)
by Anatoly
05:22 queued 02:58
created
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
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     public function run(ServerRequestInterface $request) : ResponseInterface
291 291
     {
292 292
         // lazy resolving of the given request...
293
-        $routing = new CallableRequestHandler(function (ServerRequestInterface $request) : ResponseInterface {
293
+        $routing = new CallableRequestHandler(function(ServerRequestInterface $request) : ResponseInterface {
294 294
             return $this->match($request)->handle($request);
295 295
         });
296 296
 
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
     {
331 331
         try {
332 332
             return $this->handle($request);
333
-        } catch (MethodNotAllowedException|PageNotFoundException $e) {
333
+        } catch (MethodNotAllowedException | PageNotFoundException $e) {
334 334
             $request = $request->withAttribute(self::ATTR_NAME_FOR_ROUTING_ERROR, $e);
335 335
 
336 336
             return $handler->handle($request);
Please login to merge, or discard this patch.
src/Loader/CollectableFileLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
         $collect->setContainer($this->container);
144 144
 
145 145
         foreach ($this->resources as $resource) {
146
-            (function () use ($resource) {
146
+            (function() use ($resource) {
147 147
                 require $resource;
148 148
             })->call($collect);
149 149
         }
Please login to merge, or discard this patch.