Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Jan 24, 2022
1 parent 22fd4f9 commit 3df2322
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 @@ -186,10 +186,10 @@ $exceptionClassifier = new ExceptionClassifier([
$retry = new Retry($backOff, $exceptionClassifier);
```

If you don't need any back-off at all use NullBackOff which just count attempts:
If you don't need any back-off at all use [NullBackOff](../src/NullBackOff.php) which just count attempts:

```php
$backOff = new NullBackOff(maxAttempts: 3);
$backOff = new NullBackOff(maxAttempts: INF);

$exceptionClassifier = new ExceptionClassifier([
\RuntimeException::class,
Expand Down

0 comments on commit 3df2322

Please sign in to comment.