@@ -79,7 +79,7 @@ discard block |
||
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 |
||
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(); |