@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | $context = stream_context_create( |
57 | 57 | [ |
58 | 58 | 'ssl' => array( |
59 | - 'verify_peer' => false, |
|
60 | - 'verify_peer_name' => false |
|
59 | + 'verify_peer' => false, |
|
60 | + 'verify_peer_name' => false |
|
61 | 61 | )] |
62 | 62 | ); |
63 | 63 | |
@@ -130,8 +130,8 @@ discard block |
||
130 | 130 | $context = stream_context_create( |
131 | 131 | [ |
132 | 132 | 'ssl' => array( |
133 | - 'verify_peer' => false, |
|
134 | - 'verify_peer_name' => false |
|
133 | + 'verify_peer' => false, |
|
134 | + 'verify_peer_name' => false |
|
135 | 135 | )] |
136 | 136 | ); |
137 | 137 |
@@ -16,10 +16,10 @@ |
||
16 | 16 | class Digipay extends Driver |
17 | 17 | { |
18 | 18 | /** |
19 | - * Digipay Client. |
|
20 | - * |
|
21 | - * @var object |
|
22 | - */ |
|
19 | + * Digipay Client. |
|
20 | + * |
|
21 | + * @var object |
|
22 | + */ |
|
23 | 23 | protected $client; |
24 | 24 | |
25 | 25 | /** |
@@ -228,7 +228,9 @@ |
||
228 | 228 | { |
229 | 229 | $cachedData = $this->_loadCache(); |
230 | 230 | (false === $timestamp) ? $type = 'data' : $type = 'time'; |
231 | - if (!isset($cachedData[$key][$type])) return null; |
|
231 | + if (!isset($cachedData[$key][$type])) { |
|
232 | + return null; |
|
233 | + } |
|
232 | 234 | return unserialize($cachedData[$key][$type]); |
233 | 235 | } |
234 | 236 |
@@ -72,7 +72,7 @@ |
||
72 | 72 | // Verify the payment (we must verify to ensure that user has paid the invoice). |
73 | 73 | public function verify(): ReceiptInterface { |
74 | 74 | |
75 | - // $verifyUrl = $this->settings->verifyApiUrl; |
|
75 | + // $verifyUrl = $this->settings->verifyApiUrl; |
|
76 | 76 | |
77 | 77 | $refNum = $this->invoice->getTransactionId(); |
78 | 78 | // Making payment verify |