Skip to content

Commit

Permalink
Fix retryDecider
Browse files Browse the repository at this point in the history
  • Loading branch information
HighLiuk committed Sep 13, 2021
1 parent d506e6f commit 488cf08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\Psr7\Response;
use GuzzleHttp\Exception\RequestException;
use Exception;
use Throwable;

class Client
Expand Down Expand Up @@ -187,7 +188,7 @@ public function retryDecider(int $retry_times)
$retries,
Request $request,
Response $response = null,
RequestException $exception = null
Exception $exception = null
) use ($retry_times) {
// Esegue una richiesta un certo numero di volte al massimo
// i.e. al massimo $retry_times volte
Expand Down

0 comments on commit 488cf08

Please sign in to comment.