1 | <?php |
||
17 | abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest |
||
18 | { |
||
19 | protected $zeroAmountAllowed = false; |
||
20 | |||
21 | /** |
||
22 | * Get the purse. |
||
23 | * |
||
24 | * @return string purse |
||
25 | */ |
||
26 | public function getPurse() |
||
30 | |||
31 | /** |
||
32 | * Set the purse. |
||
33 | * |
||
34 | * @param string $purse purse |
||
|
|||
35 | * |
||
36 | * @return self |
||
37 | */ |
||
38 | public function setPurse($value) |
||
42 | |||
43 | /** |
||
44 | * Get the secret key. |
||
45 | * |
||
46 | * @return string secret key |
||
47 | */ |
||
48 | public function getPassword() |
||
52 | |||
53 | /** |
||
54 | * Set the secret key. |
||
55 | * |
||
56 | * @param string $key secret key |
||
57 | * |
||
58 | * @return self |
||
59 | */ |
||
60 | public function setPassword($value) |
||
64 | } |
||
65 |
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.