Passed
Push — master ( 0e2d53...ba8872 )
by mahdi
03:15
created
src/Drivers/Fanavacard/Fanavacard.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public function __construct(Invoice $invoice, $settings)
47 47
     {
48 48
         $this->invoice($invoice);
49
-        $this->settings = (object)$settings;
49
+        $this->settings = (object) $settings;
50 50
         $this->httpClientInit();
51 51
     }
52 52
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     public function purchase()
61 61
     {
62 62
         $this->invoice->uuid(crc32($this->invoice->getUuid()));
63
-        $token  = $this->getToken();
63
+        $token = $this->getToken();
64 64
         $this->invoice->transactionId($token['Token']);
65 65
 
66 66
         return $this->invoice->getTransactionId();
@@ -184,10 +184,10 @@  discard block
 block discarded – undo
184 184
     private function httpClientInit(): void
185 185
     {
186 186
         $this->client = new Client([
187
-                                       'curl'=>[CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1',],
187
+                                       'curl'=>[CURLOPT_SSL_CIPHER_LIST=>'DEFAULT@SECLEVEL=1', ],
188 188
                                        'verify' => false,
189 189
                                        'base_uri' => $this->settings->baseUri,
190
-                                       'headers' => ['Content-Type' => 'application/json',],
190
+                                       'headers' => ['Content-Type' => 'application/json', ],
191 191
                                    ]);
192 192
     }
193 193
 
Please login to merge, or discard this patch.