]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make psalm more happy
authorJoas Schilling <coding@schilljs.com>
Thu, 9 Dec 2021 08:25:50 +0000 (09:25 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 13 Dec 2021 14:26:22 +0000 (14:26 +0000)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Collaboration/Collaborators/MailPlugin.php

index 34037084c8eb63d84db99c1f214ff32074da6cb7..301d378098705ce99586c7afba099b0931910026 100644 (file)
@@ -103,8 +103,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);