We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52d6e57 + ca24819 commit 6f33723Copy full SHA for 6f33723
2 files changed
BufferedSink.php
@@ -4,7 +4,6 @@
4
5
use React\Promise\Deferred;
6
use React\Promise\PromisorInterface;
7
-use React\Stream\WritableStream;
8
9
class BufferedSink extends WritableStream implements PromisorInterface
10
{
@@ -50,7 +49,7 @@ public function promise()
50
49
return $this->deferred->promise();
51
}
52
53
- public static function createPromise(ReadableStream $stream)
+ public static function createPromise(ReadableStreamInterface $stream)
54
55
$sink = new static();
56
$stream->pipe($sink);
CompositeStream.php
@@ -76,7 +76,7 @@ public function end($data = null)
76
77
public function close()
78
79
- $this->pipeSource = true;
+ $this->pipeSource = null;
80
81
$this->readable->close();
82
$this->writable->close();
0 commit comments