Skip to content

Commit 32f988c

Browse files
author
Maxim Tkach
committed
Update Connection.php
Fix style Stream
1 parent c8f788c commit 32f988c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function handleData($stream)
1515
$this->emit('data', array($data, $this));
1616
}
1717

18-
if ('' === $data || false === $data || (is_resource($stream) && feof($stream))) {
18+
if ('' === $data || false === $data || !is_resource($stream) || feof($stream)) {
1919
$this->end();
2020
}
2121
}

0 commit comments

Comments
 (0)