@@ -121,6 +121,10 @@ discard block |
||
121 | 121 | return $this->name; |
122 | 122 | } |
123 | 123 | |
124 | + /** |
|
125 | + * @param string $command |
|
126 | + * @param string $path |
|
127 | + */ |
|
124 | 128 | protected function simpleCommand($command, $path) { |
125 | 129 | $escapedPath = $this->escapePath($path); |
126 | 130 | $cmd = $command . ' ' . $escapedPath; |
@@ -131,7 +135,7 @@ discard block |
||
131 | 135 | /** |
132 | 136 | * List the content of a remote folder |
133 | 137 | * |
134 | - * @param $path |
|
138 | + * @param string $path |
|
135 | 139 | * @return \Icewind\SMB\IFileInfo[] |
136 | 140 | * |
137 | 141 | * @throws \Icewind\SMB\Exception\NotFoundException |
@@ -344,7 +348,7 @@ discard block |
||
344 | 348 | /** |
345 | 349 | * @param string $path |
346 | 350 | * @param int $mode a combination of FileInfo::MODE_READONLY, FileInfo::MODE_ARCHIVE, FileInfo::MODE_SYSTEM and FileInfo::MODE_HIDDEN, FileInfo::NORMAL |
347 | - * @return mixed |
|
351 | + * @return boolean |
|
348 | 352 | */ |
349 | 353 | public function setMode($path, $mode) { |
350 | 354 | $modeString = ''; |
@@ -388,7 +392,7 @@ discard block |
||
388 | 392 | |
389 | 393 | /** |
390 | 394 | * @param string $command |
391 | - * @return array |
|
395 | + * @return string[] |
|
392 | 396 | */ |
393 | 397 | protected function execute($command) { |
394 | 398 | $this->connect(); |