@@ -66,6 +66,9 @@ discard block |
||
| 66 | 66 | return $this->name; |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $path |
|
| 71 | + */ |
|
| 69 | 72 | private function buildUrl($path) { |
| 70 | 73 | $this->verifyPath($path); |
| 71 | 74 | $url = sprintf('smb://%s/%s', $this->server->getHost(), $this->name); |
@@ -295,7 +298,7 @@ discard block |
||
| 295 | 298 | * |
| 296 | 299 | * @param string $path |
| 297 | 300 | * @param string $attribute attribute to get the info |
| 298 | - * @param mixed $value |
|
| 301 | + * @param integer $value |
|
| 299 | 302 | * @return string the attribute value |
| 300 | 303 | */ |
| 301 | 304 | public function setAttribute($path, $attribute, $value) { |
@@ -312,7 +315,7 @@ discard block |
||
| 312 | 315 | * |
| 313 | 316 | * @param string $path |
| 314 | 317 | * @param int $mode a combination of FileInfo::MODE_READONLY, FileInfo::MODE_ARCHIVE, FileInfo::MODE_SYSTEM and FileInfo::MODE_HIDDEN, FileInfo::NORMAL |
| 315 | - * @return mixed |
|
| 318 | + * @return string |
|
| 316 | 319 | */ |
| 317 | 320 | public function setMode($path, $mode) { |
| 318 | 321 | return $this->setAttribute($path, 'system.dos_attr.mode', $mode); |