Skip to content

Commit 6608e8c

Browse files
committed
Merge pull request #107 from php-http/promise_result
Add Promise return type doc in Async client
2 parents 08d2315 + 7b0896a commit 6608e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpAsyncClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface HttpAsyncClient
1919
*
2020
* @param RequestInterface $request
2121
*
22-
* @return Promise
22+
* @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception.
2323
*
2424
* @throws \Exception If processing the request is impossible (eg. bad configuration).
2525
*/

0 commit comments

Comments
 (0)