@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | /** |
| 169 | - * @param $regex |
|
| 169 | + * @param string $regex |
|
| 170 | 170 | * @return bool |
| 171 | 171 | */ |
| 172 | 172 | private function routeMatch($regex) |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | - * @param $key |
|
| 219 | + * @param string $key |
|
| 220 | 220 | */ |
| 221 | 221 | private function checkRequest($key) |
| 222 | 222 | { |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | 137 | * @description call the middleware before and after the target |
| 138 | - * @param $action |
|
| 138 | + * @param string $action |
|
| 139 | 139 | */ |
| 140 | 140 | private function callMiddleware($action) |
| 141 | 141 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @param $action |
|
| 70 | + * @param string $action |
|
| 71 | 71 | * @param $middleware |
| 72 | 72 | */ |
| 73 | 73 | private function setMiddleware($action, $middleware) |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | /** |
| 96 | 96 | * @description global middleware |
| 97 | 97 | * @param $action |
| 98 | - * @return bool|mixed |
|
| 98 | + * @return boolean |
|
| 99 | 99 | */ |
| 100 | 100 | public function globalMiddleware($action) |
| 101 | 101 | { |