Skip to content

Commit

Permalink
Fixed StreamStub, so that it always starts from position=0 when strea…
Browse files Browse the repository at this point in the history
…m is opened.
  • Loading branch information
bbankowski committed Jan 15, 2024
1 parent 1369123 commit c53547f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Ouzo/Goodies/Tests/StreamStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class StreamStub

public function stream_open($path, $mode, $options, &$opened_path)
{
self::$position = 0;
return true;
}

Expand Down

0 comments on commit c53547f

Please sign in to comment.