From: Christopher Ng Date: Wed, 20 Apr 2022 04:47:58 +0000 (+0000) Subject: Fix warning X-Git-Tag: v25.0.0beta1~545^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F32021%2Fhead;p=nextcloud-server.git Fix warning Signed-off-by: Christopher Ng --- diff --git a/apps/dav/lib/UserMigration/ContactsMigrator.php b/apps/dav/lib/UserMigration/ContactsMigrator.php index c94702a0bad..aed41e5c82f 100644 --- a/apps/dav/lib/UserMigration/ContactsMigrator.php +++ b/apps/dav/lib/UserMigration/ContactsMigrator.php @@ -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), );