Passed
Push — main ( b88300...feada6 )
by امید
02:25
created
src/ParsianRefund.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public static function getDefaultConfigPath() : string
81 81
     {
82
-        return __DIR__.'/config/parsianRefund.php';
82
+        return __DIR__ . '/config/parsianRefund.php';
83 83
     }
84 84
 
85 85
     /**
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $response = Http::baseUrl($this->settings['apiRefundUrl'])
155 155
             ->withBasicAuth($this->settings['username'], $this->settings['password'])
156 156
             ->timeout($this->settings['http_request']['time_out'])
157
-            ->retry($this->settings['http_request']['retry_times'], $this->settings['http_request']['retry_sleep'], function ($exeption) {
157
+            ->retry($this->settings['http_request']['retry_times'], $this->settings['http_request']['retry_sleep'], function($exeption) {
158 158
                 return !($exeption instanceof RequestException);
159 159
             })
160 160
             ->asForm();
Please login to merge, or discard this patch.