Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | function __construct( $args = array() ) { |
||
37 | |||
38 | $args = wp_parse_args( $args, array( |
||
1 ignored issue
–
show
|
|||
39 | 'address' => '', |
||
40 | 'title' => '', |
||
41 | ) ); |
||
42 | |||
43 | parent::__construct( $args ); |
||
44 | |||
45 | } |
||
46 | |||
89 |
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.