From dd2c1c6fb817b0ad5d808c1f8a87d33af380ada6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 9 Dec 2021 09:25:50 +0100 Subject: [PATCH] Make psalm more happy Signed-off-by: Joas Schilling --- lib/private/Collaboration/Collaborators/MailPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Collaboration/Collaborators/MailPlugin.php b/lib/private/Collaboration/Collaborators/MailPlugin.php index 80f2906b510..c0d0a55a1a1 100644 --- a/lib/private/Collaboration/Collaborators/MailPlugin.php +++ b/lib/private/Collaboration/Collaborators/MailPlugin.php @@ -102,8 +102,8 @@ class MailPlugin implements ISearchPlugin { [ 'limit' => $limit, 'offset' => $offset, - 'enumeration' => $this->shareeEnumeration, - 'fullmatch' => $this->shareeEnumerationFullMatch, + 'enumeration' => (bool) $this->shareeEnumeration, + 'fullmatch' => (bool) $this->shareeEnumerationFullMatch, ] ); $lowerSearch = strtolower($search); -- 2.39.5