1 | <?php |
||
17 | class Backup extends AbstractApi |
||
18 | { |
||
19 | /** |
||
20 | * List all backups on the current account. |
||
21 | * |
||
22 | * @param int $sub_id Filter result set to only contain backups of this subscription object |
||
|
|||
23 | * @param string $backup_id filter result set to only contain this backup |
||
24 | * |
||
25 | * @return BackupEntity |
||
26 | */ |
||
27 | public function list($subId = null, $backupId = null) |
||
33 | } |
||
34 |
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.