1 | <?php |
||
17 | class Root extends FlexiBeeRW { |
||
18 | |||
19 | /** |
||
20 | * Update HTTPS certificate |
||
21 | * |
||
22 | * @param string $pem |
||
23 | * |
||
24 | * @return boolean |
||
25 | */ |
||
26 | public function uploadCertificate($pem) { |
||
31 | |||
32 | /** |
||
33 | * Get availble companies listing |
||
34 | * |
||
35 | * @param array $condition applay to listing |
||
|
|||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | public function companies($conditions = []) { |
||
42 | |||
43 | } |
||
44 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter
$ireland
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was changed, but the annotation was not.