1 | <?php |
||
7 | class ContractTier extends Base |
||
8 | { |
||
9 | /** |
||
10 | * @param string $accountCode |
||
11 | * @param string $contract |
||
12 | * @return array|null |
||
13 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
14 | */ |
||
15 | public function listContractTiers(string $accountCode, string $contract): ?array |
||
19 | |||
20 | /** |
||
21 | * @param string $accountCode |
||
22 | * @param string $contract |
||
23 | * @param string $id |
||
24 | * @return array|null |
||
25 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
26 | */ |
||
27 | public function getContract(string $accountCode, string $contract, string $id): ?array |
||
31 | |||
32 | /** |
||
33 | * @param array $data |
||
34 | * @param string $accountCode |
||
35 | * @param string $contract |
||
36 | * @return array|null |
||
37 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
38 | * @throws \Illuminate\Validation\ValidationException |
||
39 | */ |
||
40 | public function createContractTier(array $data, string $accountCode, string $contract): ?array |
||
53 | |||
54 | /** |
||
55 | * @param array $data |
||
56 | * @param string $accountCode |
||
57 | * @param string $contract |
||
58 | * @param string $id |
||
59 | * @return array|null |
||
60 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
61 | * @throws \Illuminate\Validation\ValidationException |
||
62 | */ |
||
63 | public function updateContractTier(array $data, string $accountCode, string $contract, string $id): ?array |
||
76 | |||
77 | /** |
||
78 | * @param string $accountCode |
||
79 | * @param string $uuid |
||
|
|||
80 | * @return array|null |
||
81 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
82 | */ |
||
83 | public function deleteContractTier(string $accountCode, string $contract, string $id): ?array |
||
87 | } |
||
88 |
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.