Passed
Pull Request — master (#159)
by
unknown
02:30
created
src/Drivers/Azki/Azki.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     public function __construct(Invoice $invoice, $settings)
66 66
     {
67 67
         $this->invoice($invoice);
68
-        $this->settings = (object)$settings;
68
+        $this->settings = (object) $settings;
69 69
         $this->client   = new Client();
70 70
     }
71 71
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         $callback    = $this->settings->callbackUrl;
86 86
         $fallback    = $this->settings->fallbackUrl;
87 87
         $sub_url     = self::subUrls['purchase'];
88
-        $url         = $this->settings->apiPaymentUrl . $sub_url;
88
+        $url         = $this->settings->apiPaymentUrl.$sub_url;
89 89
 
90 90
         $signature = $this->makeSignature(
91 91
             $sub_url,
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     private function getPaymentStatus()
260 260
     {
261 261
         $sub_url = self::subUrls['paymentStatus'];
262
-        $url     = $this->settings->apiPaymentUrl . $sub_url;
262
+        $url     = $this->settings->apiPaymentUrl.$sub_url;
263 263
 
264 264
         $signature = $this->makeSignature(
265 265
             $sub_url,
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
         ];
296 296
 
297 297
         if (array_key_exists($status, $translations)) {
298
-            throw new PurchaseFailedException("تراکنش در وضعیت " . $translations[$status] . " است.");
298
+            throw new PurchaseFailedException("تراکنش در وضعیت ".$translations[$status]." است.");
299 299
         }
300 300
         else {
301 301
             throw new PurchaseFailedException('خطای ناشناخته ای رخ داده است.');
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
     {
321 321
 
322 322
         $sub_url = self::subUrls['verify'];
323
-        $url     = $this->settings->apiPaymentUrl . $sub_url;
323
+        $url     = $this->settings->apiPaymentUrl.$sub_url;
324 324
 
325 325
         $signature = $this->makeSignature(
326 326
             $sub_url,
Please login to merge, or discard this patch.