diff options
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/helper.php | 4 | ||||
-rw-r--r-- | lib/private/share/share.php | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lib/private/share/helper.php b/lib/private/share/helper.php index 1645e4451ab..f9581e48e62 100644 --- a/lib/private/share/helper.php +++ b/lib/private/share/helper.php @@ -227,7 +227,7 @@ class Helper extends \OC\Share\Constants { * * all return: http://localhost * - * @param string $shareWith + * @param string $remote * @return string */ protected static function fixRemoteURL($remote) { @@ -244,7 +244,7 @@ class Helper extends \OC\Share\Constants { * split user and remote from federated cloud id * * @param string $id - * @return array + * @return string[] * @throws HintException */ public static function splitUserRemote($id) { diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 96b920fe994..51d98fff792 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -2297,6 +2297,16 @@ class Share extends Constants { return $id ? $id : false; } + /** + * @param string $itemType + * @param string $itemSource + * @param integer $shareType + * @param string $shareWith + * @param string $uidOwner + * @param integer $permissions + * @param string|null $itemSourceName + * @param null|\DateTime $expirationDate + */ private static function checkReshare($itemType, $itemSource, $shareType, $shareWith, $uidOwner, $permissions, $itemSourceName, $expirationDate) { $backend = self::getBackend($itemType); |