| 1 | <?php |
||
| 11 | class FileBasedContentController implements ContainerInjectableInterface |
||
| 12 | { |
||
| 13 | use ContainerInjectableTrait; |
||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | /** |
||
| 18 | * Render a page using flat file content. |
||
| 19 | * |
||
| 20 | * @param array $args as a variadic to catch all arguments. |
||
| 21 | * |
||
| 22 | * @return mixed as null when flat file is not found and otherwise a |
||
| 23 | * complete response object with content to render. |
||
| 24 | * |
||
| 25 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
| 26 | */ |
||
| 27 | public function catchAll(...$args) |
||
| 44 | } |
||
| 45 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.