| 1 | <?php |
||
| 13 | class ContextualDataEndpointController extends AbstractEndpointController |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Construct |
||
| 17 | * |
||
| 18 | * @param Ps2alerts\Api\Repository\AlertRepository $repository |
||
|
|
|||
| 19 | * @param Ps2alerts\Api\Transformer\AlertTransformer $transformer |
||
| 20 | * @param League\Fractal\Manager $fractal |
||
| 21 | */ |
||
| 22 | public function __construct( |
||
| 27 | } |
||
| 28 |
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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.