1 | <?php |
||
7 | class Aps extends \PleskX\Api\Operator |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @param array $properties |
||
|
|||
12 | * @return Struct\Info |
||
13 | */ |
||
14 | public function create(array $domaininfo,array $package,array $database,array $settings) |
||
53 | |||
54 | /** |
||
55 | * @param string $field |
||
56 | * @param integer|string $value |
||
57 | * @return bool |
||
58 | */ |
||
59 | public function delete($field, $value) |
||
63 | |||
64 | /** |
||
65 | * @param string $field |
||
66 | * @param integer|string $value |
||
67 | * @return Struct\GeneralInfo |
||
68 | */ |
||
69 | public function get($field, $value) |
||
74 | |||
75 | /** |
||
76 | * @return Struct\GeneralInfo[] |
||
77 | */ |
||
78 | public function getAll() |
||
82 | |||
83 | } |
||
84 |
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.