Skip to content

Commit 81ca453

Browse files
committed
Adjust CompositeStream for PHP 5.3
1 parent 0374a08 commit 81ca453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CompositeStream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ public function __construct(ReadableStreamInterface $readable, WritableStreamInt
1515
$this->readable = $readable;
1616
$this->writable = $writable;
1717

18-
$this->forwardEvents($this->readable, ['data', 'end', 'error', 'close']);
19-
$this->forwardEvents($this->writable, ['drain', 'error', 'close', 'pipe']);
18+
$this->forwardEvents($this->readable, array('data', 'end', 'error', 'close'));
19+
$this->forwardEvents($this->writable, array('drain', 'error', 'close', 'pipe'));
2020

2121
$this->readable->on('close', array($this, 'close'));
2222
$this->writable->on('close', array($this, 'close'));

0 commit comments

Comments
 (0)