phpdoc fixes

This commit is contained in:
Robin Appelman 2016-12-12 22:34:33 +01:00
commit 8d473d219e
3 changed files with 3 additions and 3 deletions

View file

@ -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));

View file

@ -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);

View file

@ -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");