| 1 | <?php |
||
| 5 | class CrmAssociations extends Resource |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @param array $ticket Array of deal properties. |
||
|
|
|||
| 9 | * |
||
| 10 | * @throws \SevenShores\Hubspot\Exceptions\BadRequest |
||
| 11 | * |
||
| 12 | * @return mixed |
||
| 13 | */ |
||
| 14 | public function create(array $data) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param int $id The deal id. |
||
| 25 | * @param array $ticket The deal properties to update. |
||
| 26 | * |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | public function delete(array $data) |
||
| 37 | } |
||
| 38 |
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.