Passed
Push — master ( 92e76a...1cfcdd )
by Robson
02:02
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;
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
         $route = (!$this->group ? $route : "/{$this->group}{$route}");
227 227
         $data = $this->data;
228 228
         $namespace = $this->namespace;
229
-        $router = function () use ($method, $handler, $data, $route, $name, $namespace) {
229
+        $router = function() use ($method, $handler, $data, $route, $name, $namespace) {
230 230
             return [
231 231
                 "route" => $route,
232 232
                 "name" => $name,
Please login to merge, or discard this patch.