Only return false in readValue when isEnded is already true
parent
8607a7f516
commit
ae3cc7d883
|
@ -127,7 +127,7 @@ class JSONStream
|
||||||
$v = $this->readToken();
|
$v = $this->readToken();
|
||||||
} while (count($this->in) > $n);
|
} while (count($this->in) > $n);
|
||||||
$value = $v;
|
$value = $v;
|
||||||
return ($this->in[count($this->in)-1][0] == 1);
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function unreadBuffer()
|
public function unreadBuffer()
|
||||||
|
|
Loading…
Reference in New Issue