@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | public function __construct(Invoice $invoice, $settings) |
| 46 | 46 | { |
| 47 | 47 | $this->invoice($invoice); // Set the invoice. |
| 48 | - $this->settings = (object)$settings; // Set settings. |
|
| 48 | + $this->settings = (object) $settings; // Set settings. |
|
| 49 | 49 | $this->client = new Client(); |
| 50 | 50 | } |
| 51 | 51 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | */ |
| 105 | 105 | public function pay(): RedirectionForm |
| 106 | 106 | { |
| 107 | - $payUrl = $this->settings->apiPaymentUrl . $this->invoice->getTransactionId(); |
|
| 107 | + $payUrl = $this->settings->apiPaymentUrl.$this->invoice->getTransactionId(); |
|
| 108 | 108 | |
| 109 | 109 | return $this->redirectWithForm($payUrl, [], 'GET'); |
| 110 | 110 | } |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | |
| 126 | 126 | $response = $this->client->request( |
| 127 | 127 | 'POST', |
| 128 | - $this->settings->apiVerificationUrl . $paymentId, |
|
| 128 | + $this->settings->apiVerificationUrl.$paymentId, |
|
| 129 | 129 | [ |
| 130 | 130 | "http_errors" => false, |
| 131 | 131 | "headers" => [ |