@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * |
111 | 111 | * @param string $newPath |
112 | 112 | * @param \OCP\Share\IShare $share |
113 | - * @return bool |
|
113 | + * @return boolean|null |
|
114 | 114 | */ |
115 | 115 | private function updateFileTarget($newPath, &$share) { |
116 | 116 | $share->setTarget($newPath); |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @param string $path |
127 | 127 | * @param View $view |
128 | 128 | * @param SharedMount[] $mountpoints |
129 | - * @return mixed |
|
129 | + * @return string |
|
130 | 130 | */ |
131 | 131 | private function generateUniqueTarget($path, $view, array $mountpoints) { |
132 | 132 | $pathinfo = pathinfo($path); |
@@ -22,10 +22,7 @@ |
||
22 | 22 | |
23 | 23 | namespace OC\Files\Config; |
24 | 24 | |
25 | -use OC\Files\Filesystem; |
|
26 | -use OCP\Files\Config\ICachedMountInfo; |
|
27 | 25 | use OCP\Files\Mount\IMountPoint; |
28 | -use OCP\Files\Node; |
|
29 | 26 | use OCP\IUser; |
30 | 27 | |
31 | 28 | class LazyStorageMountInfo extends CachedMountInfo { |