1 | <?php |
||
15 | class ArchiveMetaManager extends SiteMetaManager |
||
16 | { |
||
17 | public function __construct() |
||
21 | |||
22 | /** |
||
23 | * @param string|null $key |
||
24 | * @param mixed $fallback |
||
25 | * @param string $type |
||
|
|||
26 | * @return mixed |
||
27 | */ |
||
28 | public function get( $key = '', $fallback = null, $group = '' ) |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | protected function getDefaultGroup() |
||
40 | } |
||
41 |
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.