mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
phpdoc fixes
This commit is contained in:
parent
fa4918ac41
commit
8d473d219e
3 changed files with 3 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ class NativeShare extends AbstractShare {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @return \Icewind\SMB\IFileInfo[]
|
* @return \Icewind\SMB\IFileInfo
|
||||||
*/
|
*/
|
||||||
public function stat($path) {
|
public function stat($path) {
|
||||||
return new NativeFileInfo($this, $path, basename($path), $this->getStat($path));
|
return new NativeFileInfo($this, $path, basename($path), $this->getStat($path));
|
||||||
|
|
|
||||||
|
|
@ -232,7 +232,7 @@ class NativeState {
|
||||||
* @param resource $file
|
* @param resource $file
|
||||||
* @param int $offset
|
* @param int $offset
|
||||||
* @param int $whence SEEK_SET | SEEK_CUR | SEEK_END
|
* @param int $whence SEEK_SET | SEEK_CUR | SEEK_END
|
||||||
* @return int | bool new file offset as measured from the start of the file on success, false on failure.
|
* @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) {
|
public function lseek($file, $offset, $whence = SEEK_SET) {
|
||||||
$result = @smbclient_lseek($this->state, $file, $offset, $whence);
|
$result = @smbclient_lseek($this->state, $file, $offset, $whence);
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ class RawConnection {
|
||||||
/**
|
/**
|
||||||
* read a line of output
|
* read a line of output
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string|false
|
||||||
*/
|
*/
|
||||||
public function readLine() {
|
public function readLine() {
|
||||||
return stream_get_line($this->getOutputStream(), 4086, "\n");
|
return stream_get_line($this->getOutputStream(), 4086, "\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue