Permalink
Browse files

Added seek to StreamStub.

  • Loading branch information...
piotrooo committed Oct 9, 2018
1 parent 3f7bb02 commit 515bffc62d31c02f15280d0e7d16e6b1204f3dd5
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/Ouzo/Goodies/Tests/StreamStub.php
@@ -46,6 +46,12 @@ public function stream_stat()
return [];
}
public function stream_seek($offset, $whence)
{
static::$position = $offset;
return true;
}
public function stream_close()
{
return null;

0 comments on commit 515bffc

Please sign in to comment.