Passed
Push — master ( fcc73a...862f3b )
by mahdi
02:57
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
     /**
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
             (!isset($result['Status']) || $result['Status'] != 0) || (!isset($result['RRN']) || $result['RRN'] <= 0);
120 120
 
121 121
         if ($hasBankError) {
122
-            $message = 'خطا از سمت بانک با کد ' . $result['Status'] . ' رخ داده است.';
122
+            $message = 'خطا از سمت بانک با کد '.$result['Status'].' رخ داده است.';
123 123
             throw new InvalidPaymentException($message);
124 124
         }
125 125
 
Please login to merge, or discard this patch.