1 | <?php |
||
9 | trait SemanticHtmlModulesTrait { |
||
10 | |||
11 | public abstract function addHtmlComponent($htmlComponent); |
||
12 | |||
13 | /** |
||
14 | * Module checkbox |
||
15 | * @param string $identifier |
||
16 | * @param string $label |
||
17 | * @param mixed $value |
||
18 | * @param CheckboxType $type |
||
19 | */ |
||
20 | public function htmlCheckbox($identifier, $label=NULL,$value=NULL,$type=NULL){ |
||
23 | |||
24 | /** |
||
25 | * @param string $identifier |
||
26 | * @param int $rowCount |
||
|
|||
27 | * @param int $colCount |
||
28 | */ |
||
29 | public function htmlRating($identifier, $value, $max,$icon=""){ |
||
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
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.