Skip to content

Commit

Permalink
TriGParser::rewind(): initialize $n properly
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Jan 25, 2024
1 parent 6c271ae commit 51a6293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quickRdfIo/TriGParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function next(): void {
}

public function rewind(): void {
$this->n = 0;
$this->n = -1;
if ($this->input->tell() !== 0) {
$this->input->rewind();
}
Expand Down

0 comments on commit 51a6293

Please sign in to comment.