From 147007bdd8e2f60d2a39685623f34130c87edc0c Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 13 May 2014 12:17:30 +0200 Subject: fixing typo and missing @throws --- lib/private/share/helper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/private/share') 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); -- cgit v1.2.3