File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ CHANGELOG
3
3
4
4
### 0.3.1 (2013-04-21)
5
5
6
+ * Bug fix: [ Stream] Allow any ` ReadableStreamInterface ` on ` BufferedSink::createPromise() `
6
7
* Bug fix: [ HttpClient] Correct requirement for socket-client
7
8
8
9
### 0.3.0 (2013-04-14)
Original file line number Diff line number Diff line change 4
4
5
5
use React \Promise \Deferred ;
6
6
use React \Promise \PromisorInterface ;
7
- use React \Stream \WritableStream ;
8
7
9
8
class BufferedSink extends WritableStream implements PromisorInterface
10
9
{
@@ -50,7 +49,7 @@ public function promise()
50
49
return $ this ->deferred ->promise ();
51
50
}
52
51
53
- public static function createPromise (ReadableStream $ stream )
52
+ public static function createPromise (ReadableStreamInterface $ stream )
54
53
{
55
54
$ sink = new static ();
56
55
$ stream ->pipe ($ sink );
You can’t perform that action at this time.
0 commit comments