Skip to content

Commit 4e88214

Browse files
committed
fix formatting error
1 parent 749bb3a commit 4e88214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/promise.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ executed if the request results in an error::
8282
);
8383

8484
The failure callback can also return a ``Promise``. This can be useful to implement a retry
85-
mechanism, as follows:
85+
mechanism, as follows::
8686

8787
use Http\Discovery\HttpAsyncClientDiscovery;
8888
use Http\Discovery\Psr17FactoryDiscovery;
@@ -103,7 +103,7 @@ mechanism, as follows:
103103
// try another execution
104104
return $client->sendAsyncRequest($request);
105105
};
106-
106+
107107
$promise = $client->sendAsyncRequest($request);
108108
for ($i=0; $i < $retries; $i++) {
109109
$promise = $promise->then($success, $failure);

0 commit comments

Comments
 (0)