Passed
Push — master ( 91cb90...98c34f )
by Alexander
01:23
created
src/Dispatch.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,10 +57,10 @@  discard block
 block discarded – undo
57 57
     ) {
58 58
         unset($get['url']); // @TODO Use a less important keyword, as it blocks that _GET param?
59 59
 
60
-        $this->container  = $container ?? new Container();
60
+        $this->container = $container ?? new Container();
61 61
 
62 62
         if (isset($this->container->session) == false) {
63
-            $this->container->singleton('session', function ($f) {
63
+            $this->container->singleton('session', function($f) {
64 64
                 return new Session();
65 65
             });
66 66
         }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         }
71 71
 
72 72
         if (isset($this->container->request) == false) {
73
-            $this->container->request = function ($f) {
73
+            $this->container->request = function($f) {
74 74
                 return new Request();
75 75
             };
76 76
         }
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     public function response(): ?Response
154 154
     {
155 155
         $cbs = $this->middlewares;
156
-        $call_eventual_route_at_end_of_chain = function (Request $request, Chain $chain): ?Response {
156
+        $call_eventual_route_at_end_of_chain = function(Request $request, Chain $chain): ?Response {
157 157
             $route = $request->route();
158 158
             if (is_null($route)) {
159 159
                 if (Environment::get('debug')) {
Please login to merge, or discard this patch.