| 1 | <?php |
||
| 8 | class PublicProgramOverviewControl extends AProgramOverviewControl |
||
| 9 | { |
||
| 10 | |||
| 11 | const TEMPLATE_NAME = 'PublicProgramOverview'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param BlockModel $model |
||
| 15 | * @param PublicBlockDetailControl $blockDetailControl |
||
|
|
|||
| 16 | */ |
||
| 17 | public function __construct(BlockModel $model, PublicBlocksByDayControl $control) |
||
| 21 | |||
| 22 | } |
||
| 23 |
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.