Passed
Branch master (368441)
by mahdi
03:48 queued 01:03
created
src/Drivers/Parsian/Parsian.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function __construct(Invoice $invoice, $settings)
36 36
     {
37 37
         $this->invoice($invoice);
38
-        $this->settings = (object)$settings;
38
+        $this->settings = (object) $settings;
39 39
     }
40 40
 
41 41
     /**
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         $hasWrongStatus = (!isset($result['Status']) || $result['Status'] != 0);
118 118
         $hasWrongRRN = (!isset($result['RRN']) || $result['RRN'] <= 0);
119 119
         if ($hasWrongStatus || $hasWrongRRN) {
120
-            $message = 'خطا از سمت بانک با کد ' . $result['Status'] . ' رخ داده است.';
120
+            $message = 'خطا از سمت بانک با کد '.$result['Status'].' رخ داده است.';
121 121
             throw new InvalidPaymentException($message);
122 122
         }
123 123
 
Please login to merge, or discard this patch.