@@ -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 |