@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return callable |
|
| 136 | + * @return string[] |
|
| 137 | 137 | */ |
| 138 | 138 | public static function getDefaultRequestFactory() |
| 139 | 139 | { |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | /** |
| 299 | 299 | * @param Closure $handler |
| 300 | 300 | * @param ContainerInterface $userContainer |
| 301 | - * @param array|null $globalMiddleware |
|
| 301 | + * @param callable[] $globalMiddleware |
|
| 302 | 302 | * @param array|null $routeMiddleware |
| 303 | 303 | * |
| 304 | 304 | * @return Closure |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | * @param int|string $key |
| 354 | 354 | * @param mixed $default |
| 355 | 355 | * |
| 356 | - * @return mixed |
|
| 356 | + * @return string |
|
| 357 | 357 | */ |
| 358 | 358 | private function getValue(array $config, $key, $default) |
| 359 | 359 | { |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - * @return callable |
|
| 59 | + * @return string[] |
|
| 60 | 60 | * |
| 61 | 61 | * @SuppressWarnings(PHPMD.StaticAccess) |
| 62 | 62 | */ |
@@ -188,7 +188,7 @@ |
||
| 188 | 188 | */ |
| 189 | 189 | public function getName() |
| 190 | 190 | { |
| 191 | - $result = $this->name !== null ? $this->getGroup()->getName() . $this->name : null; |
|
| 191 | + $result = $this->name !== null ? $this->getGroup()->getName().$this->name : null; |
|
| 192 | 192 | |
| 193 | 193 | return $result; |
| 194 | 194 | } |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | { |
| 142 | 142 | $this->checkRoutesLoaded(); |
| 143 | 143 | |
| 144 | - list(, , $namedRouteUriPaths) = $this->cachedRoutes; |
|
| 144 | + list(,, $namedRouteUriPaths) = $this->cachedRoutes; |
|
| 145 | 145 | |
| 146 | 146 | $result = array_key_exists($routeName, $namedRouteUriPaths) === true ? $namedRouteUriPaths[$routeName] : null; |
| 147 | 147 | |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | { |
| 47 | 47 | $parentGroupName = $this->parentGroup()->getName(); |
| 48 | 48 | $selfName = parent::getName(); |
| 49 | - $result = $parentGroupName !== null || $selfName !== null ? $parentGroupName . $selfName : null; |
|
| 49 | + $result = $parentGroupName !== null || $selfName !== null ? $parentGroupName.$selfName : null; |
|
| 50 | 50 | |
| 51 | 51 | return $result; |
| 52 | 52 | } |