1 | <?php |
||
8 | class Profitability extends Endpoint |
||
9 | { |
||
10 | /** |
||
11 | * Create a new profitability data. |
||
12 | * |
||
13 | * @return ProfitabilityData |
||
14 | */ |
||
15 | 3 | public function create() |
|
19 | |||
20 | /** |
||
21 | * Send the profitability Request. |
||
22 | * |
||
23 | * @param int $id the product line id. |
||
|
|||
24 | * |
||
25 | * @return stdObject |
||
26 | */ |
||
27 | 3 | public function save() |
|
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
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.