From 08f0dc906780be699aa9ff8c10faaea0be44855d Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Mon, 8 Feb 2016 15:43:39 +0000 Subject: Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- lib/private/share/helper.php | 4 ++-- lib/private/share/share.php | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'lib/private/share') diff --git a/lib/private/share/helper.php b/lib/private/share/helper.php index 1645e4451ab..f9581e48e62 100644 --- a/lib/private/share/helper.php +++ b/lib/private/share/helper.php @@ -227,7 +227,7 @@ class Helper extends \OC\Share\Constants { * * all return: http://localhost * - * @param string $shareWith + * @param string $remote * @return string */ protected static function fixRemoteURL($remote) { @@ -244,7 +244,7 @@ class Helper extends \OC\Share\Constants { * split user and remote from federated cloud id * * @param string $id - * @return array + * @return string[] * @throws HintException */ public static function splitUserRemote($id) { diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 96b920fe994..51d98fff792 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -2297,6 +2297,16 @@ class Share extends Constants { return $id ? $id : false; } + /** + * @param string $itemType + * @param string $itemSource + * @param integer $shareType + * @param string $shareWith + * @param string $uidOwner + * @param integer $permissions + * @param string|null $itemSourceName + * @param null|\DateTime $expirationDate + */ private static function checkReshare($itemType, $itemSource, $shareType, $shareWith, $uidOwner, $permissions, $itemSourceName, $expirationDate) { $backend = self::getBackend($itemType); -- cgit v1.2.3