Skip to content

Commit 912f8a0

Browse files
committed
remove non appropriate doc
1 parent db7bb30 commit 912f8a0

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/RetryingCallable.php

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
/**
66
* Wraps an operation, represented as a callable, in retry logic.
77
*
8-
* The class implements the retry logic for you by re-executing your callable
9-
* in case of temporary errors where retrying the failed operation, after a
10-
* short delay usually resolves the problem. Just wrap your operation in this
11-
* class and invoke it. You can also pass arguments when invoking the wrapper
12-
* which will be passed through to the underlying callable.
13-
*
148
* @author Tobias Schultze <http://tobion.de>
159
* @author Christian Riesen <http://christianriesen.com>
1610
*/
@@ -61,16 +55,13 @@ public function getRetries()
6155
}
6256

6357
/**
64-
* Executes the wrapped callable and retries it in case of a configured exception happening.
65-
*
66-
* The callable is only re-executed for exceptions that are a subclass of one of the configured exceptions. Other exceptions will be ignored
67-
* and just bubble upwards immediately.
58+
* Executes the wrapped callable and retries it until the exception handler also throws an exception.
6859
*
6960
* All arguments given will be passed through to the wrapped callable.
7061
*
7162
* @return mixed The return value of the wrapped callable
7263
*
73-
* @throws \Exception When retries are exceeded or retry is not configured for it
64+
* @throws \Exception When the exception handler also throws an exception.
7465
*/
7566
public function __invoke()
7667
{

0 commit comments

Comments
 (0)