@@ -58,6 +58,10 @@ |
||
| 58 | 58 | return ''; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | + /** |
|
| 62 | + * @param string $path |
|
| 63 | + * @param string $method |
|
| 64 | + */ |
|
| 61 | 65 | private function requestMatched($pathLimit, $path, $method) |
| 62 | 66 | { |
| 63 | 67 | return $this->methodMatched($pathLimit['methods'], $method) |
@@ -189,8 +189,7 @@ |
||
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | /** |
| 192 | - * @param string $route |
|
| 193 | - * @param ControllerEvent|FilterControllerEvent $controller |
|
| 192 | + * @param FilterControllerEvent $event |
|
| 194 | 193 | * @return mixed|string |
| 195 | 194 | */ |
| 196 | 195 | private function getAliasForRequest($event) |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | * Sanitizies key so it can be used safely in REDIS |
| 82 | 82 | * |
| 83 | 83 | * @param $key |
| 84 | - * @return string|string[] |
|
| 84 | + * @return string |
|
| 85 | 85 | */ |
| 86 | 86 | protected function sanitizeRedisKey($key) { |
| 87 | 87 | return str_replace(str_split('@{}()/\:'), '_', $key); |