| 1 | <?php |
||
| 10 | class Option extends AbstractElement implements InputInterface, SelectableInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | public function getValue() |
||
| 19 | |||
| 20 | public function setValue($value) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return DOMElement |
||
| 27 | */ |
||
| 28 | public function getSelect() |
||
| 32 | |||
| 33 | public function unselectOthers() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param boolean $value |
||
|
|
|||
| 41 | */ |
||
| 42 | public function select() |
||
| 47 | } |
||
| 48 |
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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.