@@ -140,7 +140,7 @@ |
||
140 | 140 | |
141 | 141 | /** |
142 | 142 | * Set the payment amount, but only when the status is 'Created'. |
143 | - * @param float $amt value to set the payment to |
|
143 | + * @param double $amount |
|
144 | 144 | * @return Payment this object for chaining |
145 | 145 | */ |
146 | 146 | public function setAmount($amount) { |
@@ -16,9 +16,7 @@ |
||
16 | 16 | |
17 | 17 | /** |
18 | 18 | * Generate an absolute url for gateways to return to, or send requests to. |
19 | - * @param GatewayMessage $message message that redirect applies to. |
|
20 | 19 | * @param string $action the intended action of the gateway |
21 | - * @param string $returnurl the application url to re-redirect to |
|
22 | 20 | * @return string the resulting redirect url |
23 | 21 | */ |
24 | 22 | public static function get_endpoint_url($action, $identifier) { |
@@ -96,6 +96,7 @@ discard block |
||
96 | 96 | |
97 | 97 | /** |
98 | 98 | * Get the appropriate redirect url |
99 | + * @return string |
|
99 | 100 | */ |
100 | 101 | public function getRedirectURL() { |
101 | 102 | if ($this->response) { |
@@ -127,7 +128,7 @@ discard block |
||
127 | 128 | * with configuration applied. |
128 | 129 | * |
129 | 130 | * @throws RuntimeException - when gateway doesn't exist. |
130 | - * @return AbstractGateway omnipay gateway class |
|
131 | + * @return Omnipay\Common\GatewayInterface omnipay gateway class |
|
131 | 132 | */ |
132 | 133 | public function oGateway() { |
133 | 134 | $factory = new GatewayFactory; |
@@ -146,6 +147,7 @@ discard block |
||
146 | 147 | |
147 | 148 | /** |
148 | 149 | * Generate a return/notify url for off-site gateways (completePayment). |
150 | + * @param string $action |
|
149 | 151 | * @return string endpoint url |
150 | 152 | */ |
151 | 153 | protected function getEndpointURL($action, $identifier) { |