Skip to content

Commit

Permalink
Merge pull request #2 from cfv1000/feature/countable-file
Browse files Browse the repository at this point in the history
feature/countable-file
  • Loading branch information
Flaviu Chelaru authored Nov 21, 2021
2 parents c266b80 + d5c8aea commit 3c51a17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function tell(): int
*/
public function count()
{
$this->file->fseek(PHP_INT_MAX);
$this->file->seek(PHP_INT_MAX);
return $this->file->key();
}
}

0 comments on commit 3c51a17

Please sign in to comment.