1 | <?php |
||
19 | class Gateway extends AbstractGateway |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | public function getName() |
||
28 | |||
29 | public function getAssetDir() |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function getDefaultParameters() |
||
45 | |||
46 | /** |
||
47 | * Get the unified purse. |
||
48 | * |
||
49 | * @return string merchant purse |
||
50 | */ |
||
51 | public function getPurse() |
||
55 | |||
56 | /** |
||
57 | * Set the unified purse. |
||
58 | * |
||
59 | * @param string $purse merchant purse |
||
|
|||
60 | * |
||
61 | * @return self |
||
62 | */ |
||
63 | public function setPurse($value) |
||
67 | |||
68 | /** |
||
69 | * Get the unified secret key. |
||
70 | * |
||
71 | * @return string secret key |
||
72 | */ |
||
73 | public function getSecretKey() |
||
77 | |||
78 | /** |
||
79 | * Set the unified secret key. |
||
80 | * |
||
81 | * @param string $value secret key |
||
82 | * |
||
83 | * @return self |
||
84 | */ |
||
85 | public function setSecretKey($value) |
||
89 | |||
90 | /** |
||
91 | * @param array $parameters |
||
92 | * |
||
93 | * @return \Omnipay\ePayService\Message\PurchaseRequest |
||
94 | */ |
||
95 | public function purchase(array $parameters = []) |
||
99 | |||
100 | /** |
||
101 | * @param array $parameters |
||
102 | * |
||
103 | * @return \Omnipay\ePayService\Message\CompletePurchaseRequest |
||
104 | */ |
||
105 | public function completePurchase(array $parameters = []) |
||
109 | } |
||
110 |
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.