@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * @param null|string $namespace |
72 | 72 | * @return Dispatch |
73 | 73 | */ |
74 | - public function namespace(?string $namespace): Dispatch |
|
74 | + public function namespace(?string $namespace) : Dispatch |
|
75 | 75 | { |
76 | 76 | $this->namespace = ($namespace ? ucwords($namespace) : null); |
77 | 77 | return $this; |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public function current(): ?object |
102 | 102 | { |
103 | - return (object)array_merge([ |
|
103 | + return (object) array_merge([ |
|
104 | 104 | "namespace" => $this->namespace, |
105 | 105 | "group" => $this->group, |
106 | 106 | "path" => $this->path |