Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Sep 7, 2021
1 parent 6318c60 commit 52c1546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ $baseTimeMs = 1000;

$backOff = new ExponentialBackOff($maxAttempts, $baseTimeMs);

$classifier = new ExceptionClassifier([
$exceptionClassifier = new ExceptionClassifier([
\RuntimeException::class,
]);

$retry = new Retry($backOff, $classifier);
$retry = new Retry($backOff, $exceptionClassifier);
```

Put the business logic in a callback function and call it:
Expand Down

0 comments on commit 52c1546

Please sign in to comment.