| 1 | <?php |
||
| 15 | class SelectRender extends AbstractFieldRender implements FieldRendererInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param FieldInterface $field |
||
| 19 | * @param DOMElement $fieldBlock |
||
|
|
|||
| 20 | * @param DOMElement $labelBlock |
||
| 21 | * @param DOMElement $element |
||
| 22 | * @param DOMElement|null $errorBlock |
||
| 23 | */ |
||
| 24 | 1 | public function renderBlock(FieldInterface $field, DOMElement $element) |
|
| 37 | } |
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.