Completed
Pull Request — master (#28)
by Eric
02:49
created
src/Skill/Routing/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function addRoute(Route $route) : Router
36 36
     {
37
-        $this->rawRoutes[$route->scope()] = $this->rawRoutes[$route->scope()] ?? [];
37
+        $this->rawRoutes[$route->scope()] = $this->rawRoutes[$route->scope()] ? ? [];
38 38
         $this->rawRoutes[$route->scope()][] = [$route->method(), $route->pattern(), $route->handler()];
39 39
         $this->compilationKey = null;
40 40
 
Please login to merge, or discard this patch.