diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-05-13 12:17:30 +0200 |
---|---|---|
committer | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-05-13 19:09:14 +0100 |
commit | 147007bdd8e2f60d2a39685623f34130c87edc0c (patch) | |
tree | b3f21da178793b1c2941b9a70e6f71cfb64de6a0 /lib/private/share | |
parent | 4755392c65ba707d0dbf25c862e766fc2b31d3f3 (diff) | |
download | nextcloud-server-147007bdd8e2f60d2a39685623f34130c87edc0c.tar.gz nextcloud-server-147007bdd8e2f60d2a39685623f34130c87edc0c.zip |
fixing typo and missing @throws
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/helper.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/share/helper.php b/lib/private/share/helper.php index 68f4a35af19..bc83d569840 100644 --- a/lib/private/share/helper.php +++ b/lib/private/share/helper.php @@ -32,6 +32,7 @@ class Helper extends \OC\Share\Constants { * @param string $uidOwner User that is the owner of shared item * @param string $suggestedTarget The suggested target originating from a reshare (optional) * @param int $groupParent The id of the parent group share (optional) + * @throws \Exception * @return string Item target */ public static function generateTarget($itemType, $itemSource, $shareType, $shareWith, $uidOwner, @@ -144,7 +145,7 @@ class Helper extends \OC\Share\Constants { * Delete all reshares of an item * @param int $parent Id of item to delete * @param bool $excludeParent If true, exclude the parent from the delete (optional) - * @param string $uidOwner The user that the parent was shared with (optinal) + * @param string $uidOwner The user that the parent was shared with (optional) */ public static function delete($parent, $excludeParent = false, $uidOwner = null) { $ids = array($parent); |