From 7b0896abcda2e0eff8b255266d95a5203b2bb12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rk=20S=C3=A1gi-Kaz=C3=A1r?= Date: Mon, 25 Jan 2016 23:16:08 +0100 Subject: [PATCH] Add Promise return type doc in Async client introduced in php-http/promise#9 --- src/HttpAsyncClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpAsyncClient.php b/src/HttpAsyncClient.php index 592fd49..492e511 100644 --- a/src/HttpAsyncClient.php +++ b/src/HttpAsyncClient.php @@ -19,7 +19,7 @@ interface HttpAsyncClient * * @param RequestInterface $request * - * @return Promise + * @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception. * * @throws \Exception If processing the request is impossible (eg. bad configuration). */