@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 |