Skip to content

Commit 7b0896a

Browse files
committed
Add Promise return type doc in Async client introduced in php-http/promise#9
1 parent 08d2315 commit 7b0896a

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)