diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-28 10:41:04 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-28 10:41:04 +0200 |
commit | b4a15db046c01a6fc4c097684d4724b009d0f134 (patch) | |
tree | a3962d54b5068fd5ec9b0258c754f2c3b2856004 /lib/public | |
parent | 9108c103b25d925ea0ababfa88140ba5cbb9ad77 (diff) | |
parent | 46083006e143d0359293be58b70333c37101a588 (diff) | |
download | nextcloud-server-b4a15db046c01a6fc4c097684d4724b009d0f134.tar.gz nextcloud-server-b4a15db046c01a6fc4c097684d4724b009d0f134.zip |
Merge pull request #15901 from owncloud/fix-share-docs
fix several issues with doc blocks on share.php
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/share.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index a96239a5c31..6c8b82f4293 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -170,7 +170,7 @@ class Share extends \OC\Share\Constants { * @param string $itemType * @param string $itemSource * @param string $uidOwner Owner of link - * @return Item + * @return array * @since 5.0.0 */ public static function getItemSharedWithByLink($itemType, $itemSource, $uidOwner) { @@ -180,6 +180,7 @@ class Share extends \OC\Share\Constants { /** * Based on the given token the share information will be returned - password protected shares will be verified * @param string $token + * @param bool $checkPasswordProtection * @return array|bool false will be returned in case the token is unknown or unauthorized * @since 5.0.0 - parameter $checkPasswordProtection was added in 7.0.0 */ @@ -289,7 +290,8 @@ class Share extends \OC\Share\Constants { /** * Unshare an item shared with the current user * @param string $itemType - * @param string $itemTarget + * @param string $itemOrigin Item target or source + * @param boolean $originIsSource true if $itemOrigin is the source, false if $itemOrigin is the target (optional) * @return boolean true on success or false on failure * * Unsharing from self is not allowed for items inside collections |