summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-12-08 15:01:20 +0000
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-10 16:43:37 +0100
commitffc49a24f02639afce362384fc3d6e4a0799d1d7 (patch)
treeb89786860bf4289211a31c3b76dca7bff3b5523f /lib/private
parent7094ed05adfa435a53d7d6ce0c3b6d32760f5111 (diff)
downloadnextcloud-server-ffc49a24f02639afce362384fc3d6e4a0799d1d7.tar.gz
nextcloud-server-ffc49a24f02639afce362384fc3d6e4a0799d1d7.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/appframework/middleware/security/securitymiddleware.php1
-rw-r--r--lib/private/share/mailnotifications.php6
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/appframework/middleware/security/securitymiddleware.php b/lib/private/appframework/middleware/security/securitymiddleware.php
index d0b7202a360..725ce689b48 100644
--- a/lib/private/appframework/middleware/security/securitymiddleware.php
+++ b/lib/private/appframework/middleware/security/securitymiddleware.php
@@ -27,7 +27,6 @@
namespace OC\AppFramework\Middleware\Security;
-use OC\AppFramework\Http;
use OC\Appframework\Middleware\Security\Exceptions\AppNotEnabledException;
use OC\Appframework\Middleware\Security\Exceptions\CrossSiteRequestForgeryException;
use OC\Appframework\Middleware\Security\Exceptions\NotAdminException;
diff --git a/lib/private/share/mailnotifications.php b/lib/private/share/mailnotifications.php
index 4d282158ba4..f071c7f3a3c 100644
--- a/lib/private/share/mailnotifications.php
+++ b/lib/private/share/mailnotifications.php
@@ -170,7 +170,7 @@ class MailNotifications {
* @param string $filename the shared file
* @param string $link the public link
* @param int $expiration expiration date (timestamp)
- * @return array $result of failed recipients
+ * @return string[] $result of failed recipients
*/
public function sendLinkShareMail($recipient, $filename, $link, $expiration) {
$subject = (string)$this->l->t('%s shared »%s« with you', [$this->senderDisplayName, $filename]);
@@ -232,8 +232,8 @@ class MailNotifications {
}
/**
- * @param $itemSource
- * @param $itemType
+ * @param string $itemSource
+ * @param string $itemType
* @param IUser $recipient
* @return array
*/