@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use OCP\IUser; |
| 28 | 28 | use OCP\ILogger; |
| 29 | 29 | use OCP\Files\Folder; |
| 30 | - |
|
| 31 | 30 | use OC\Share20\Exception\ShareNotFound; |
| 32 | 31 | |
| 33 | 32 | /** |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | * and does not take the chroot into account ) |
| 196 | 196 | * |
| 197 | 197 | * @param string $path |
| 198 | - * @return \OCP\Files\Mount\IMountPoint |
|
| 198 | + * @return Mount\MountPoint|null |
|
| 199 | 199 | */ |
| 200 | 200 | public function getMount($path) { |
| 201 | 201 | return Filesystem::getMountManager()->find($this->getAbsolutePath($path)); |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | |
| 907 | 907 | /** |
| 908 | 908 | * @param string $path |
| 909 | - * @return bool|string |
|
| 909 | + * @return string|false |
|
| 910 | 910 | * @throws \OCP\Files\InvalidPathException |
| 911 | 911 | */ |
| 912 | 912 | public function toTmpFile($path) { |
@@ -2029,7 +2029,7 @@ discard block |
||
| 2029 | 2029 | |
| 2030 | 2030 | /** |
| 2031 | 2031 | * @param string $filename |
| 2032 | - * @return array |
|
| 2032 | + * @return string[] |
|
| 2033 | 2033 | * @throws \OC\User\NoUserException |
| 2034 | 2034 | * @throws NotFoundException |
| 2035 | 2035 | */ |