File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function getDefaultParameters()
49
49
/**
50
50
* Authorize a new amount
51
51
*
52
- * @param array $parameters
52
+ * @param array $parameters
53
53
* @return mixed
54
54
*/
55
55
public function authorize (array $ parameters = array ())
@@ -60,7 +60,7 @@ public function authorize(array $parameters = array())
60
60
/**
61
61
* Capture authorized amount
62
62
*
63
- * @param array $parameters An array of options
63
+ * @param array $parameters An array of options
64
64
* @return \Omnipay\ResponseInterface
65
65
*/
66
66
public function capture (array $ parameters = array ())
@@ -82,7 +82,7 @@ public function purchase(array $parameters = array())
82
82
/**
83
83
* Void transaction
84
84
*
85
- * @param array $parameters An array of options
85
+ * @param array $parameters An array of options
86
86
* @return \Omnipay\ResponseInterface
87
87
*/
88
88
public function void (array $ parameters = array ())
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ class Response extends AbstractResponse
24
24
/**
25
25
* Constructor
26
26
*
27
- * @param RequestInterface $request
28
- * @param string $data
27
+ * @param RequestInterface $request
28
+ * @param string $data
29
29
* @throws InvalidResponseException
30
30
*/
31
31
public function __construct (RequestInterface $ request , $ data )
@@ -46,8 +46,8 @@ public function __construct(RequestInterface $request, $data)
46
46
*/
47
47
public function isSuccessful ()
48
48
{
49
- $ decisionOk = Gateway::DECISION_ACCEPTED === (string )$ this ->data ->decision ;
50
- $ codeOk = Gateway::CODE_OK === (string )$ this ->data ->code ;
49
+ $ decisionOk = Gateway::DECISION_ACCEPTED === (string ) $ this ->data ->decision ;
50
+ $ codeOk = Gateway::CODE_OK === (string ) $ this ->data ->code ;
51
51
52
52
return $ decisionOk && $ codeOk ;
53
53
}
@@ -59,7 +59,7 @@ public function isSuccessful()
59
59
*/
60
60
public function getTransactionReference ()
61
61
{
62
- return (string )$ this ->data ->confirmationNumber ;
62
+ return (string ) $ this ->data ->confirmationNumber ;
63
63
}
64
64
65
65
/**
@@ -69,6 +69,6 @@ public function getTransactionReference()
69
69
*/
70
70
public function getMessage ()
71
71
{
72
- return (string )$ this ->data ->description ;
72
+ return (string ) $ this ->data ->description ;
73
73
}
74
74
}
You can’t perform that action at this time.
0 commit comments