Skip to content

Commit 95c829d

Browse files
committed
Keep things BC
1 parent aab18b7 commit 95c829d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## 2.0.0 - Unreleased
4+
5+
- The HttpAsyncClient now returns a HttpPromise (instead of a Promise)
6+
7+
## 1.1.0 - Unreleased
8+
9+
- Added HttpPromise interface to enforce value of rejected and resolved promise
10+
- Added HttpFulfilledPromise and HttpRejectedPromise which respect the HttpAsyncClient interface
311

412
## 1.0.0 - 2016-01-26
513

src/HttpAsyncClient.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Http\Client;
44

5-
use Http\Client\Promise\HttpPromise;
5+
use Http\Promise\Promise;
66
use Psr\Http\Message\RequestInterface;
77

88
/**
@@ -19,7 +19,7 @@ interface HttpAsyncClient
1919
*
2020
* @param RequestInterface $request
2121
*
22-
* @return HttpPromise Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception.
22+
* @return Promise 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)