diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-13 12:27:35 +0200 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-05-13 19:09:15 +0100 |
commit | fa503a4772af010d8b59ea8eb26aba0a08b100b9 (patch) | |
tree | 07306c0b88cb1a21c9ddee9af3b9183e28ce8079 /lib | |
parent | 650a55e2ba1c22ee6dc5c6902a90b1dcd2c00155 (diff) | |
download | nextcloud-server-fa503a4772af010d8b59ea8eb26aba0a08b100b9.tar.gz nextcloud-server-fa503a4772af010d8b59ea8eb26aba0a08b100b9.zip |
fix PHPDoc
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share/share.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 98275a59a6f..a8537a916fb 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -260,7 +260,7 @@ class Share extends \OC\Share\Constants { * @param mixed $parameters (optional) * @param int $limit Number of items to return (optional) Returns all by default * @param boolean $includeCollections (optional) - * @return Return depends on format + * @return mixed Return depends on format */ public static function getItemsSharedWithUser($itemType, $user, $format = self::FORMAT_NONE, $parameters = null, $limit = -1, $includeCollections = false) { @@ -352,7 +352,7 @@ class Share extends \OC\Share\Constants { * @param string $itemType * @param string $itemSource * @param string $uidOwner Owner of link - * @return Item + * @return array */ public static function getItemSharedWithByLink($itemType, $itemSource, $uidOwner) { return self::getItems($itemType, $itemSource, self::SHARE_TYPE_LINK, null, $uidOwner, self::FORMAT_NONE, @@ -926,6 +926,7 @@ class Share extends \OC\Share\Constants { /** * Get the backend class for the specified item type * @param string $itemType + * @throws \Exception * @return \OCP\Share_Backend */ public static function getBackend($itemType) { @@ -1353,6 +1354,7 @@ class Share extends \OC\Share\Constants { * @param boolean|array $parentFolder Parent folder target (optional) * @param string $token (optional) * @param string $itemSourceName name of the source item (optional) + * @throws \Exception * @return boolean Returns true on success or false on failure */ private static function put($itemType, $itemSource, $shareType, $shareWith, $uidOwner, @@ -1641,7 +1643,7 @@ class Share extends \OC\Share\Constants { } /** - * @breif construct select statement + * @brief construct select statement * @param int $format * @param boolean $fileDependent ist it a file/folder share or a generla share * @param string $uidOwner |