summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-06-26 10:57:14 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-06-26 10:57:55 +0200
commit4d44d6be2ec6dbf0f085b260387538b01a896bf5 (patch)
tree924f9c2c2a21878e34c34e7af18bf952ca54068c /lib/private/Share20
parented4afa55c1ccaef140ac310258ad837bf6af9557 (diff)
downloadnextcloud-server-4d44d6be2ec6dbf0f085b260387538b01a896bf5.tar.gz
nextcloud-server-4d44d6be2ec6dbf0f085b260387538b01a896bf5.zip
Replace Share with IShare and add missing return.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/Manager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 91fb11adc76..289545f0a46 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -687,7 +687,7 @@ class Manager implements IManager {
* Share a path
*
* @param IShare $share
- * @return Share The share object
+ * @return IShare The share object
* @throws \Exception
*
* TODO: handle link share permissions or check them
@@ -1212,7 +1212,7 @@ class Manager implements IManager {
list($providerId, ) = $this->splitFullId($share->getFullId());
$provider = $this->factory->getProvider($providerId);
- $provider->move($share, $recipientId);
+ return $provider->move($share, $recipientId);
}
public function getSharesInFolder($userId, Folder $node, $reshares = false) {
@@ -1387,7 +1387,7 @@ class Manager implements IManager {
* Get the share by token possible with password
*
* @param string $token
- * @return Share
+ * @return IShare
*
* @throws ShareNotFound
*/