Skip to content

Commit 6f33723

Browse files
committed
Merge branch 'refs/heads/master' into 0.4
Conflicts: CHANGELOG.md
2 parents 52d6e57 + ca24819 commit 6f33723

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

BufferedSink.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use React\Promise\Deferred;
66
use React\Promise\PromisorInterface;
7-
use React\Stream\WritableStream;
87

98
class BufferedSink extends WritableStream implements PromisorInterface
109
{
@@ -50,7 +49,7 @@ public function promise()
5049
return $this->deferred->promise();
5150
}
5251

53-
public static function createPromise(ReadableStream $stream)
52+
public static function createPromise(ReadableStreamInterface $stream)
5453
{
5554
$sink = new static();
5655
$stream->pipe($sink);

CompositeStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function end($data = null)
7676

7777
public function close()
7878
{
79-
$this->pipeSource = true;
79+
$this->pipeSource = null;
8080

8181
$this->readable->close();
8282
$this->writable->close();

0 commit comments

Comments
 (0)