aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/UserMigration
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-04-20 04:47:58 +0000
committerChristopher Ng <chrng8@gmail.com>2022-04-20 04:47:58 +0000
commit522cc891c73bf1b52dfb5fd691fbc1f57eab693e (patch)
tree8e14f5608889127b512f76d9645d0a99fe4b7ba1 /apps/dav/lib/UserMigration
parente7f293ba6321c0972d98e18f52d4ba84e89a414b (diff)
downloadnextcloud-server-522cc891c73bf1b52dfb5fd691fbc1f57eab693e.tar.gz
nextcloud-server-522cc891c73bf1b52dfb5fd691fbc1f57eab693e.zip
Fix warning
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/dav/lib/UserMigration')
-rw-r--r--apps/dav/lib/UserMigration/ContactsMigrator.php2
1 files changed, 1 insertions, 1 deletions
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),
);