These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /** |
||
4 | * This file is part of the ApiGen (http://apigen.org) |
||
5 | * |
||
6 | * For the full copyright and license information, please view |
||
7 | * the file LICENSE that was distributed with this source code. |
||
8 | */ |
||
9 | |||
10 | namespace ApiGen\Contracts\Console\Helper; |
||
11 | |||
12 | interface ProgressBarInterface |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @param int $maximum |
||
17 | */ |
||
18 | public function init($maximum = 1); |
||
19 | |||
20 | |||
21 | /** |
||
22 | * @param int $increment |
||
0 ignored issues
–
show
|
|||
23 | */ |
||
24 | public function increment($steps = 1); |
||
25 | } |
||
26 |
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.