@@ -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; |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | $route = (!$this->group ? $route : "/{$this->group}{$route}"); |
197 | 197 | $data = $this->data; |
198 | 198 | $namespace = $this->namespace; |
199 | - $router = function () use ($method, $handler, $data, $route, $namespace) { |
|
199 | + $router = function() use ($method, $handler, $data, $route, $namespace) { |
|
200 | 200 | return [ |
201 | 201 | "route" => $route, |
202 | 202 | "method" => $method, |