Total Complexity | 2 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class ErrorHandlerController implements ContainerInjectableInterface |
||
13 | { |
||
14 | use ContainerInjectableTrait; |
||
15 | |||
16 | |||
17 | |||
18 | /** |
||
19 | * Add internal routes for 403, 404 and 500 that provides a page with |
||
20 | * error information, using the default page layout. |
||
21 | * |
||
22 | * @param string $message with details. |
||
23 | * |
||
24 | * @throws Anax\Route\Exception\NotFoundException |
||
25 | |||
26 | * @return object as the response. |
||
27 | */ |
||
28 | public function catchAll(...$args) : object |
||
64 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.