mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
fix return type of NativeStream seek
This commit is contained in:
parent
77c30c698f
commit
f018d1cd0a
2 changed files with 2 additions and 2 deletions
|
|
@ -233,7 +233,7 @@ class NativeState {
|
|||
* @param resource $file
|
||||
* @param int $offset
|
||||
* @param int $whence SEEK_SET | SEEK_CUR | SEEK_END
|
||||
* @return int
|
||||
* @return int | bool new file offset as measured from the start of the file on success, false on failure.
|
||||
*/
|
||||
public function lseek($file, $offset, $whence = SEEK_SET) {
|
||||
$result = @smbclient_lseek($this->state, $file, $offset, $whence);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue