summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-28 08:40:47 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-28 08:40:47 +0200
commit46083006e143d0359293be58b70333c37101a588 (patch)
tree64294bc358baeda584b36a59825f325b9a2b1409 /lib/public
parent6679ef287a06dbf41be454ca4a7eebed09f43773 (diff)
downloadnextcloud-server-46083006e143d0359293be58b70333c37101a588.tar.gz
nextcloud-server-46083006e143d0359293be58b70333c37101a588.zip
fix several issues with doc blocks on share.php
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/share.php6
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