| 1 | <?php |
||
| 26 | class VerticalResolution extends Resolution |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * Creates a new instance from given Resolution object |
||
| 30 | * |
||
| 31 | * @param VerticalResolution $Resolution |
||
|
|
|||
| 32 | * |
||
| 33 | * @return VerticalResolution |
||
| 34 | */ |
||
| 35 | public static function fromVerticalResolution(VerticalResolution $resolution) |
||
| 41 | } |
||
| 42 |
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
$irelandis not defined by the methodfinale(...).The most likely cause is that the parameter was changed, but the annotation was not.