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 ef3effa commit 0a30318Copy full SHA for 0a30318
1 file changed
src/WritableResourceStream.php
@@ -92,15 +92,9 @@ public function close()
92
$this->writable = false;
93
$this->data = '';
94
95
- $this->emit('close', array($this));
+ $this->emit('close');
96
$this->removeAllListeners();
97
98
- $this->handleClose();
99
- }
100
-
101
- /** @internal */
102
- public function handleClose()
103
- {
104
if (is_resource($this->stream)) {
105
fclose($this->stream);
106
}
0 commit comments