| @@ -45,7 +45,7 @@ discard block | ||
| 45 | 45 | public function __construct(Invoice $invoice, $settings) | 
| 46 | 46 |      { | 
| 47 | 47 | $this->invoice($invoice); | 
| 48 | - $this->settings = (object)$settings; | |
| 48 | + $this->settings = (object) $settings; | |
| 49 | 49 | $this->client = new Client(); | 
| 50 | 50 | } | 
| 51 | 51 | |
| @@ -61,7 +61,7 @@ discard block | ||
| 61 | 61 |      { | 
| 62 | 62 | $data = [ | 
| 63 | 63 | 'api_key' => $this->settings->merchantId, | 
| 64 | - 'order_id' => intval(1, time()) . crc32($this->invoice->getUuid()), | |
| 64 | + 'order_id' => intval(1, time()).crc32($this->invoice->getUuid()), | |
| 65 | 65 | 'amount' => $this->invoice->getAmount(), | 
| 66 | 66 | 'callback_uri' => $this->settings->callbackUrl, | 
| 67 | 67 | ]; | 
| @@ -121,7 +121,7 @@ discard block | ||
| 121 | 121 | */ | 
| 122 | 122 | public function pay(): RedirectionForm | 
| 123 | 123 |      { | 
| 124 | - $payUrl = $this->settings->apiPaymentUrl . $this->invoice->getTransactionId(); | |
| 124 | + $payUrl = $this->settings->apiPaymentUrl.$this->invoice->getTransactionId(); | |
| 125 | 125 | |
| 126 | 126 | return $this->redirectWithForm($payUrl, [], 'GET'); | 
| 127 | 127 | } |