diff --git a/src/vfsStreamFile.php b/src/vfsStreamFile.php index 04aafaa..0e6aef3 100644 --- a/src/vfsStreamFile.php +++ b/src/vfsStreamFile.php @@ -260,7 +260,7 @@ public function getBytesRead(): int /** * seeks to the given offset */ - public function seek(int $offset, int $whence): bool + public function seek(int $offset, int $whence = SEEK_SET): bool { return $this->content->seek($offset, $whence); }