Passed
Push — master ( f4aea8...91cb90 )
by Alexander
01:38
created
src/Dispatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     ) {
57 57
         unset($get['url']); // @TODO Use a less important keyword, as it blocks that _GET param?
58 58
 
59
-        $this->container  = $container ?? new Container();
59
+        $this->container = $container ?? new Container();
60 60
 
61 61
         if (isset($this->container->session) == false) {
62 62
             $this->container->singleton('session', function($f) { return new Session(); });
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     public function response(): ?Response
149 149
     {
150 150
         $cbs = $this->middlewares;
151
-        $call_eventual_route_at_end_of_chain = function (Request $request, Chain $chain): ?Response {
151
+        $call_eventual_route_at_end_of_chain = function(Request $request, Chain $chain): ?Response {
152 152
             $route = $request->route();
153 153
             if (is_null($route)) {
154 154
                 if (Environment::get('debug')) {
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
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 
132 132
             $parameters = array_filter(
133 133
                 $matches,
134
-                function ($v) {
134
+                function($v) {
135 135
                     return !is_int($v);
136 136
                 },
137 137
                 \ARRAY_FILTER_USE_KEY
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         $url = self::$aliases[$url] ?? $url;
158 158
         return static::createRoute(
159 159
             $url,
160
-            function (Request $request): ?Response {
160
+            function(Request $request): ?Response {
161 161
                 $page = response\Page::fromRequest($request);
162 162
                 // @TODO BC breaking, but move this?
163 163
                 return $page->isValid() ? $page : null;
Please login to merge, or discard this patch.