Passed
Push — master ( bb07ef...c3db73 )
by Anatoly
03:56 queued 01:05
created
src/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
     public function run(ServerRequestInterface $request) : ResponseInterface
372 372
     {
373 373
         // lazy resolving of the given request...
374
-        $routing = new CallableRequestHandler(function (ServerRequestInterface $request) : ResponseInterface {
374
+        $routing = new CallableRequestHandler(function(ServerRequestInterface $request) : ResponseInterface {
375 375
             $route = $this->match($request);
376 376
             $this->matchedRoute = $route;
377 377
             return $route->handle($request);
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
     {
415 415
         try {
416 416
             return $this->handle($request);
417
-        } catch (MethodNotAllowedException|PageNotFoundException $e) {
417
+        } catch (MethodNotAllowedException | PageNotFoundException $e) {
418 418
             $request = $request->withAttribute(self::ATTR_NAME_FOR_ROUTING_ERROR, $e);
419 419
 
420 420
             return $handler->handle($request);
Please login to merge, or discard this patch.