summaryrefslogtreecommitdiffstats
path: root/lib/private/share
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2016-02-08 15:43:39 +0000
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2016-02-08 15:43:39 +0000
commit08f0dc906780be699aa9ff8c10faaea0be44855d (patch)
treebb2219d2d62fa314b57404a8993fe0ce4df1a6ea /lib/private/share
parentec399e6bbc5a16519433e11869e444fd7b198a25 (diff)
downloadnextcloud-server-08f0dc906780be699aa9ff8c10faaea0be44855d.tar.gz
nextcloud-server-08f0dc906780be699aa9ff8c10faaea0be44855d.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'lib/private/share')
-rw-r--r--lib/private/share/helper.php4
-rw-r--r--lib/private/share/share.php10
2 files changed, 12 insertions, 2 deletions
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);