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

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