| 1 | <?php |
||
| 18 | class MeDeleteRequest extends AbstractDeleteRequest |
||
| 19 | { |
||
| 20 | protected $resultClass = '\Commercetools\Core\Model\Customer\Customer'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param int $version |
||
| 24 | * @param Context $context |
||
| 25 | */ |
||
| 26 | 1 | public function __construct($version, Context $context = null) |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $id |
||
|
|
|||
| 33 | * @param int $version |
||
| 34 | * @param Context $context |
||
| 35 | * @return static |
||
| 36 | */ |
||
| 37 | 1 | public static function ofVersion($version, Context $context = null) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | * @internal |
||
| 45 | */ |
||
| 46 | 1 | protected function getPath() |
|
| 50 | } |
||
| 51 |
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.