]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix warning 32021/head
authorChristopher Ng <chrng8@gmail.com>
Wed, 20 Apr 2022 04:47:58 +0000 (04:47 +0000)
committerChristopher Ng <chrng8@gmail.com>
Wed, 20 Apr 2022 04:47:58 +0000 (04:47 +0000)
Signed-off-by: Christopher Ng <chrng8@gmail.com>
apps/dav/lib/UserMigration/ContactsMigrator.php

index c94702a0bad2eceb87f6a27995129d5128a39401..aed41e5c82f4fe7ec3695be33b717aede18f6257 100644 (file)
@@ -168,7 +168,7 @@ class ContactsMigrator implements IMigrator {
                }
 
                $existingAddressBookUris = array_map(
-                       fn (array $addressBookInfo) => $addressBookInfo['uri'],
+                       fn (array $addressBookInfo): string => $addressBookInfo['uri'],
                        $this->cardDavBackend->getAddressBooksForUser($principalUri),
                );