@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * @param null|string $namespace |
89 | 89 | * @return Dispatch |
90 | 90 | */ |
91 | - public function namespace(?string $namespace): Dispatch |
|
91 | + public function namespace(?string $namespace) : Dispatch |
|
92 | 92 | { |
93 | 93 | $this->namespace = ($namespace ? ucwords($namespace) : null); |
94 | 94 | return $this; |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | $route = (!$this->group ? $route : "/{$this->group}{$route}"); |
192 | 192 | $data = $this->data; |
193 | 193 | $namespace = $this->namespace; |
194 | - $router = function () use ($method, $handler, $data, $route, $namespace) { |
|
194 | + $router = function() use ($method, $handler, $data, $route, $namespace) { |
|
195 | 195 | return [ |
196 | 196 | "route" => $route, |
197 | 197 | "method" => $method, |