1 | <?php |
||
18 | class Gateway extends AbstractGateway |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public function getName() |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function getDefaultParameters() |
||
40 | |||
41 | /** |
||
42 | * Get the unified purse. |
||
43 | * |
||
44 | * @return string merchant purse |
||
45 | */ |
||
46 | public function getPurse() |
||
50 | |||
51 | /** |
||
52 | * Set the unified purse. |
||
53 | * |
||
54 | * @param string $purse merchant purse |
||
|
|||
55 | * |
||
56 | * @return self |
||
57 | */ |
||
58 | public function setPurse($value) |
||
62 | |||
63 | /** |
||
64 | * Get the unified secret key. |
||
65 | * |
||
66 | * @return string secret key |
||
67 | */ |
||
68 | public function getSecretKey() |
||
72 | |||
73 | /** |
||
74 | * Set the unified secret key. |
||
75 | * |
||
76 | * @param string $value secret key |
||
77 | * |
||
78 | * @return self |
||
79 | */ |
||
80 | public function setSecretKey($value) |
||
84 | |||
85 | /** |
||
86 | * Get the secret key for notification signing. |
||
87 | * |
||
88 | * @return string secret key |
||
89 | */ |
||
90 | public function getSecretKey2() |
||
94 | |||
95 | /** |
||
96 | * Set the secret key for notification signing. |
||
97 | * |
||
98 | * @param string $value secret key |
||
99 | * |
||
100 | * @return self |
||
101 | */ |
||
102 | public function setSecretKey2($value) |
||
106 | |||
107 | /** |
||
108 | * @param array $parameters |
||
109 | * |
||
110 | * @return \Omnipay\ePayService\Message\PurchaseRequest |
||
111 | */ |
||
112 | public function purchase(array $parameters = []) |
||
116 | |||
117 | /** |
||
118 | * @param array $parameters |
||
119 | * |
||
120 | * @return \Omnipay\ePayService\Message\CompletePurchaseRequest |
||
121 | */ |
||
122 | public function completePurchase(array $parameters = []) |
||
126 | } |
||
127 |
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.