@@ -161,6 +161,7 @@ discard block |
||
161 | 161 | * @param string $action |
162 | 162 | * @param int $returnType |
163 | 163 | * @param string $alias |
164 | + * @param string $requestMethods |
|
164 | 165 | * @throws InvalidArgumentException |
165 | 166 | * @throws UnexpectedValueException |
166 | 167 | */ |
@@ -272,6 +273,9 @@ discard block |
||
272 | 273 | return new FastRoute\Dispatcher\GroupCountBased($routeCollector->getData()); |
273 | 274 | } |
274 | 275 | |
276 | + /** |
|
277 | + * @param FastRoute\RouteCollector $routeCollector |
|
278 | + */ |
|
275 | 279 | private function createCachedRoute($routeCollector ) : void |
276 | 280 | { |
277 | 281 | if ($this->cachedFile !== null && !file_exists($this->cachedFile)) { |