Passed
Push — master ( a858f5...936140 )
by mahdi
08:28
created
src/Drivers/Payfa/Payfa.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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" => [
Please login to merge, or discard this patch.