summaryrefslogtreecommitdiffstats
path: root/lib/private/share
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-13 12:17:30 +0200
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 19:09:14 +0100
commit147007bdd8e2f60d2a39685623f34130c87edc0c (patch)
treeb3f21da178793b1c2941b9a70e6f71cfb64de6a0 /lib/private/share
parent4755392c65ba707d0dbf25c862e766fc2b31d3f3 (diff)
downloadnextcloud-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.php3
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);