Skip to content
Snippets Groups Projects
Commit 147007bd authored by Thomas Müller's avatar Thomas Müller Committed by Robin McCorkell
Browse files

fixing typo and missing @throws

parent 4755392c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment