@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | * and does not take the chroot into account ) |
198 | 198 | * |
199 | 199 | * @param string $path |
200 | - * @return \OCP\Files\Mount\IMountPoint |
|
200 | + * @return Mount\MountPoint|null |
|
201 | 201 | */ |
202 | 202 | public function getMount($path) { |
203 | 203 | return Filesystem::getMountManager()->find($this->getAbsolutePath($path)); |
@@ -960,7 +960,7 @@ discard block |
||
960 | 960 | |
961 | 961 | /** |
962 | 962 | * @param string $path |
963 | - * @return bool|string |
|
963 | + * @return string|false |
|
964 | 964 | * @throws \OCP\Files\InvalidPathException |
965 | 965 | */ |
966 | 966 | public function toTmpFile($path) { |
@@ -1075,7 +1075,7 @@ discard block |
||
1075 | 1075 | * @param string $path |
1076 | 1076 | * @param array $hooks (optional) |
1077 | 1077 | * @param mixed $extraParam (optional) |
1078 | - * @return mixed |
|
1078 | + * @return string |
|
1079 | 1079 | * @throws \Exception |
1080 | 1080 | * |
1081 | 1081 | * This method takes requests for basic filesystem functions (e.g. reading & writing |
@@ -2083,7 +2083,7 @@ discard block |
||
2083 | 2083 | |
2084 | 2084 | /** |
2085 | 2085 | * @param string $filename |
2086 | - * @return array |
|
2086 | + * @return string[] |
|
2087 | 2087 | * @throws \OC\User\NoUserException |
2088 | 2088 | * @throws NotFoundException |
2089 | 2089 | */ |