@@ -138,6 +138,9 @@ |
||
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | |
| 141 | + /** |
|
| 142 | + * @param string $requestMethods |
|
| 143 | + */ |
|
| 141 | 144 | public function add( |
| 142 | 145 | $requestMethods, |
| 143 | 146 | string $route, |
@@ -43,6 +43,9 @@ |
||
| 43 | 43 | FastRoute\Dispatcher::NOT_FOUND => 404 |
| 44 | 44 | ]; |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param null|string $cachedFile |
|
| 48 | + */ |
|
| 46 | 49 | public function __construct(array $routes, int $defaultReturnType, ?string $cachedFile) |
| 47 | 50 | { |
| 48 | 51 | $this->routes = $routes; |