return boolean in Ciose::stream_seek
This commit is contained in:
parent
b752cb98d8
commit
561a7e47cd
|
@ -29,7 +29,7 @@ class Close {
|
|||
}
|
||||
|
||||
public function stream_seek($offset, $whence = SEEK_SET) {
|
||||
fseek($this->source, $offset, $whence);
|
||||
return fseek($this->source, $offset, $whence) === 0;
|
||||
}
|
||||
|
||||
public function stream_tell() {
|
||||
|
|
Loading…
Reference in New Issue