Skip to content

Commit 3df2322

Browse files
author
Aleksandr Denisyuk
committed
Update docs
1 parent 22fd4f9 commit 3df2322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ $exceptionClassifier = new ExceptionClassifier([
186186
$retry = new Retry($backOff, $exceptionClassifier);
187187
```
188188

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

191191
```php
192-
$backOff = new NullBackOff(maxAttempts: 3);
192+
$backOff = new NullBackOff(maxAttempts: INF);
193193

194194
$exceptionClassifier = new ExceptionClassifier([
195195
\RuntimeException::class,

0 commit comments

Comments
 (0)