Passed
Push — master ( 3147eb...cf22f4 )
by Robson
01:39
created
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;
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
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,
Please login to merge, or discard this patch.