Completed
Push — 2.0 ( 806006...d62bc0 )
by Mark
02:29
created
code/model/Payment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
code/PaymentGatewayController.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -16,9 +16,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
code/services/PaymentService.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,6 +96,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.