]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make psalm more happy 30245/head
authorJoas Schilling <coding@schilljs.com>
Thu, 9 Dec 2021 08:25:50 +0000 (09:25 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 13 Dec 2021 12:49:15 +0000 (13:49 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Collaboration/Collaborators/MailPlugin.php

index 80f2906b5100a3d203012abba951833e2d65f08e..c0d0a55a1a1830b860f6980b5234fad7031ed493 100644 (file)
@@ -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);