Passed
Push — master ( 41597f...ce3528 )
by Sina
04:10
created
src/Drivers/Poolam.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             $check['order'] = $transaction->parent;
39 39
             if ($check['status'] == 1) {
40 40
                 $this->updateTransactionData($transaction->id, ['status' => 'successful', 'ref_no' => $check['bank_code']]);
41
-            }else {
41
+            } else {
42 42
                 $this->updateTransactionData($transaction->id, ['status' => 'failed', 'ref_no' => $check['errorCode'], 'description' => $check['errorDescription']]);
43 43
             }
44 44
         }
Please login to merge, or discard this patch.