diff options
author | Joas Schilling <coding@schilljs.com> | 2018-03-06 14:05:14 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-03-06 14:05:14 +0100 |
commit | 173388dcd4aa95703d0b6e058159a2364c414efc (patch) | |
tree | a7d3d3ff1733a9de749d58a7e1c76b2c5973db75 | |
parent | 18968e84fc8467c2940642bff2faea17c4e6ef96 (diff) | |
download | nextcloud-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.php | 2 |
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; } |