@@ -99,6 +99,10 @@ discard block |
||
99 | 99 | return $this->name; |
100 | 100 | } |
101 | 101 | |
102 | + /** |
|
103 | + * @param string $command |
|
104 | + * @param string $path |
|
105 | + */ |
|
102 | 106 | protected function simpleCommand($command, $path) { |
103 | 107 | $path = $this->escapePath($path); |
104 | 108 | $cmd = $command . ' ' . $path; |
@@ -128,7 +132,7 @@ discard block |
||
128 | 132 | |
129 | 133 | /** |
130 | 134 | * @param string $path |
131 | - * @return \Icewind\SMB\IFileInfo[] |
|
135 | + * @return FileInfo |
|
132 | 136 | */ |
133 | 137 | public function stat($path) { |
134 | 138 | $escapedPath = $this->escapePath($path); |
@@ -324,7 +328,7 @@ discard block |
||
324 | 328 | /** |
325 | 329 | * @param string $path |
326 | 330 | * @param int $mode a combination of FileInfo::MODE_READONLY, FileInfo::MODE_ARCHIVE, FileInfo::MODE_SYSTEM and FileInfo::MODE_HIDDEN, FileInfo::NORMAL |
327 | - * @return mixed |
|
331 | + * @return boolean |
|
328 | 332 | */ |
329 | 333 | public function setMode($path, $mode) { |
330 | 334 | $modeString = ''; |