@@ -42,5 +42,8 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | interface SingletonInterface |
| 44 | 44 | { |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 45 | 48 | public function __construct(Context $context); |
| 46 | 49 | } |
@@ -187,7 +187,7 @@ |
||
| 187 | 187 | /** |
| 188 | 188 | * Add a new route. |
| 189 | 189 | * |
| 190 | - * @param string|string[] $http_method The HTTP method, example: GET, HEAD, POST, PATCH, PUT, DELETE, CLI, etc. Can be an array of values. |
|
| 190 | + * @param string $http_method The HTTP method, example: GET, HEAD, POST, PATCH, PUT, DELETE, CLI, etc. Can be an array of values. |
|
| 191 | 191 | * @param string $route The route |
| 192 | 192 | * @param string $controller_class The Controller's class |
| 193 | 193 | * @param array $parameters The parameters to pass |