Correct code style
parent
e7611dc629
commit
4dabd9a240
|
@ -31,7 +31,7 @@ class ProtocolStreamReader implements ProtocolReader
|
||||||
$this->input = $input;
|
$this->input = $input;
|
||||||
Loop\addReadStream($this->input, function() {
|
Loop\addReadStream($this->input, function() {
|
||||||
if (feof($this->input)) {
|
if (feof($this->input)) {
|
||||||
throw new RuntimeException("Stream is closed.");
|
throw new RuntimeException('Stream is closed');
|
||||||
}
|
}
|
||||||
|
|
||||||
while (($c = fgetc($this->input)) !== false && $c !== '') {
|
while (($c = fgetc($this->input)) !== false && $c !== '') {
|
||||||
|
|
Loading…
Reference in New Issue