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 |
||
63 | } |
||
64 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.