aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-06 14:05:14 +0100
committerJoas Schilling <coding@schilljs.com>2018-03-06 14:05:14 +0100
commit173388dcd4aa95703d0b6e058159a2364c414efc (patch)
treea7d3d3ff1733a9de749d58a7e1c76b2c5973db75
parent18968e84fc8467c2940642bff2faea17c4e6ef96 (diff)
downloadnextcloud-server-173388dcd4aa95703d0b6e058159a2364c414efc.tar.gz
nextcloud-server-173388dcd4aa95703d0b6e058159a2364c414efc.zip
PHP 5.6 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/Collaboration/Collaborators/MailPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Collaborators/MailPlugin.php b/lib/private/Collaboration/Collaborators/MailPlugin.php
index b4964825182..464b6702066 100644
--- a/lib/private/Collaboration/Collaborators/MailPlugin.php
+++ b/lib/private/Collaboration/Collaborators/MailPlugin.php
@@ -194,7 +194,7 @@ class MailPlugin implements ISearchPlugin {
return true;
}
- public function isCurrentUser(ICloudId $cloud): bool {
+ public function isCurrentUser(ICloudId $cloud) {
$currentUser = $this->userSession->getUser();
return $currentUser instanceof IUser ? $currentUser->getUID() === $cloud->getUser() : false;
}