1
0
Fork 0

Merge branch 'workspace_symbols' of https://github.com/MadHed/php-language-server into workspace_symbols

pull/31/head
Stephan Unverwerth 2016-09-29 20:35:05 +02:00
commit 3aad065e41
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ProtocolStreamReader implements ProtocolReader
{ {
$this->input = $input; $this->input = $input;
Loop\addReadStream($this->input, function() { Loop\addReadStream($this->input, function() {
while(($c = fgetc($this->input)) !== false && $c !== '') { while (($c = fgetc($this->input)) !== false && $c !== '') {
$this->buffer .= $c; $this->buffer .= $c;
switch ($this->parsingMode) { switch ($this->parsingMode) {
case ParsingMode::HEADERS: case ParsingMode::HEADERS: