Passed
Pull Request — master (#293)
by
unknown
02:49
created
src/Drivers/Payping/Payping.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
         }
111 111
         if (($this->settings->version??'2')==='2') {
112 112
             $this->invoice->transactionId($body['code']);
113
-        }else{
113
+        } else{
114 114
             $this->invoice->transactionId($body['paymentCode']);
115 115
         }
116 116
 
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
                 'amount' => $this->invoice->getAmount() / ($this->settings->currency == 'T' ? 1 : 10), // convert to toman
147 147
                 'refId'  => $refId,
148 148
             ];
149
-        }else{
149
+        } else{
150 150
             $data = [
151 151
                 'paymentRefId' => $refId
152 152
             ];
Please login to merge, or discard this patch.