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