@@ -150,7 +150,7 @@ |
||
| 150 | 150 | |
| 151 | 151 | /** |
| 152 | 152 | * Set the payment amount, but only when the status is 'Created'. |
| 153 | - * @param float $amt value to set the payment to |
|
| 153 | + * @param double $amount |
|
| 154 | 154 | * @return Payment this object for chaining |
| 155 | 155 | */ |
| 156 | 156 | public function setAmount($amount) |
@@ -17,9 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * Generate an absolute url for gateways to return to, or send requests to. |
| 20 | - * @param GatewayMessage $message message that redirect applies to. |
|
| 21 | 20 | * @param string $action the intended action of the gateway |
| 22 | - * @param string $returnurl the application url to re-redirect to |
|
| 23 | 21 | * @return string the resulting redirect url |
| 24 | 22 | */ |
| 25 | 23 | public static function get_endpoint_url($action, $identifier) |
@@ -102,6 +102,7 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | 104 | * Get the appropriate redirect url |
| 105 | + * @return string |
|
| 105 | 106 | */ |
| 106 | 107 | public function getRedirectURL() |
| 107 | 108 | { |
@@ -155,6 +156,7 @@ discard block |
||
| 155 | 156 | |
| 156 | 157 | /** |
| 157 | 158 | * Generate a return/notify url for off-site gateways (completePayment). |
| 159 | + * @param string $action |
|
| 158 | 160 | * @return string endpoint url |
| 159 | 161 | */ |
| 160 | 162 | protected function getEndpointURL($action, $identifier) |