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.
1 parent 0374a08 commit 81ca453Copy full SHA for 81ca453
1 file changed
CompositeStream.php
@@ -15,8 +15,8 @@ public function __construct(ReadableStreamInterface $readable, WritableStreamInt
15
$this->readable = $readable;
16
$this->writable = $writable;
17
18
- $this->forwardEvents($this->readable, ['data', 'end', 'error', 'close']);
19
- $this->forwardEvents($this->writable, ['drain', 'error', 'close', 'pipe']);
+ $this->forwardEvents($this->readable, array('data', 'end', 'error', 'close'));
+ $this->forwardEvents($this->writable, array('drain', 'error', 'close', 'pipe'));
20
21
$this->readable->on('close', array($this, 'close'));
22
$this->writable->on('close', array($this, 'close'));
0 commit comments