Passed
Push — master ( 4d4957...de4778 )
by mahdi
04:23 queued 01:58
created
src/Drivers/Azki/Azki.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public function __construct(Invoice $invoice, $settings)
65 65
     {
66 66
         $this->invoice($invoice);
67
-        $this->settings = (object)$settings;
67
+        $this->settings = (object) $settings;
68 68
         $this->client   = new Client();
69 69
     }
70 70
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         $callback    = $this->settings->callbackUrl;
85 85
         $fallback    = $this->settings->fallbackUrl;
86 86
         $sub_url     = self::subUrls['purchase'];
87
-        $url         = $this->settings->apiPaymentUrl . $sub_url;
87
+        $url         = $this->settings->apiPaymentUrl.$sub_url;
88 88
 
89 89
         $signature = $this->makeSignature(
90 90
             $sub_url,
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     private function getPaymentStatus()
254 254
     {
255 255
         $sub_url = self::subUrls['paymentStatus'];
256
-        $url     = $this->settings->apiPaymentUrl . $sub_url;
256
+        $url     = $this->settings->apiPaymentUrl.$sub_url;
257 257
 
258 258
         $signature = $this->makeSignature(
259 259
             $sub_url,
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
         ];
291 291
 
292 292
         if (array_key_exists($status, $translations)) {
293
-            throw new PurchaseFailedException("تراکنش در وضعیت " . $translations[$status] . " است.");
293
+            throw new PurchaseFailedException("تراکنش در وضعیت ".$translations[$status]." است.");
294 294
         } else {
295 295
             throw new PurchaseFailedException('خطای ناشناخته ای رخ داده است.');
296 296
         }
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
     private function VerifyTransaction()
314 314
     {
315 315
         $sub_url = self::subUrls['verify'];
316
-        $url     = $this->settings->apiPaymentUrl . $sub_url;
316
+        $url     = $this->settings->apiPaymentUrl.$sub_url;
317 317
 
318 318
         $signature = $this->makeSignature(
319 319
             $sub_url,
Please login to merge, or discard this patch.