Completed
Push — master ( c6b404...c0c218 )
by Raffael
01:45
created
src/Http/Router.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,12 +68,12 @@  discard block
 block discarded – undo
68 68
      * @param   array $request
69 69
      * @return  void
70 70
      */
71
-    public function __construct(LoggerInterface $logger, ?array $request=null, ?ContainerInterface $container=null)
71
+    public function __construct(LoggerInterface $logger, ? array $request = null, ?ContainerInterface $container = null)
72 72
     {
73 73
         $this->logger = $logger;
74 74
         $this->container = $container;
75 75
 
76
-        if($request === null) {
76
+        if ($request === null) {
77 77
             $request = $_SERVER;
78 78
         }
79 79
 
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
             'code'    => $exception->getCode()
287 287
         ];
288 288
 
289
-        if(defined("$class::HTTP_CODE")) {
289
+        if (defined("$class::HTTP_CODE")) {
290 290
             $http_code = $class::HTTP_CODE;
291 291
         } else {
292 292
             $http_code = 500;
Please login to merge, or discard this patch.