| 1 | <?php |
||
| 15 | class SelectRender extends AbstractFieldRender implements FieldRendererInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param FieldInterface $field |
||
| 19 | * @param DOMElement $element |
||
| 20 | * @return DOMElement |
||
| 21 | */ |
||
| 22 | 4 | public function renderBlock(FieldInterface $field, DOMElement $element) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param FieldInterface $field |
||
| 36 | * @param DOMElement $option |
||
|
|
|||
| 37 | * @return DOMElement |
||
| 38 | */ |
||
| 39 | 3 | private function processOption(FieldInterface $field, $value, $label) |
|
| 49 | } |
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.