@@ -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 | /** |
@@ -117,7 +117,7 @@ discard block |
||
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 |