Test Setup Failed
Branch master (d76556)
by Max Alex
02:00
created
Category
src/Dispatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.