diff --git a/src/Stream.php b/src/Stream.php index a7a82159..a7d691e4 100644 --- a/src/Stream.php +++ b/src/Stream.php @@ -423,8 +423,11 @@ public function seek($position) $this->current(); $this->next(); } - - $this->offset--; + + if ($position !== 0) { + $this->offset--; + } + $this->current(); }