Browse Source

Only return false in readValue when isEnded is already true

pull/3/head
Markus Mittendrein 1 year ago
parent
commit
ae3cc7d883
  1. 2
      JSONStream.php

2
JSONStream.php

@ -127,7 +127,7 @@ class JSONStream
$v = $this->readToken();
} while (count($this->in) > $n);
$value = $v;
return ($this->in[count($this->in)-1][0] == 1);
return true;
}
public function unreadBuffer()

Loading…
Cancel
Save