diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-11 11:39:25 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-11 11:39:25 +0100 |
commit | c14f4e85067afe5732b1e48901351d23a1db6fbc (patch) | |
tree | bdcec1eab7572df454f47a16ff778bf281db875b /lib | |
parent | 6a179c42ba0a4288982a83ce47978680532ee143 (diff) | |
parent | 19d1e0ebb91de343484614f7d05517305a524ac3 (diff) | |
download | nextcloud-server-c14f4e85067afe5732b1e48901351d23a1db6fbc.tar.gz nextcloud-server-c14f4e85067afe5732b1e48901351d23a1db6fbc.zip |
Merge pull request #21045 from owncloud/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/appframework/middleware/security/securitymiddleware.php | 1 | ||||
-rw-r--r-- | lib/private/share/mailnotifications.php | 6 |
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 */ |