From d3505a2ed0c9d258731cdec535f6c28885f7a7ca Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Wed, 30 Mar 2022 18:26:59 +0000 Subject: Access by array key instead of destructuring Signed-off-by: Christopher Ng --- apps/dav/lib/UserMigration/ContactsMigrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav') diff --git a/apps/dav/lib/UserMigration/ContactsMigrator.php b/apps/dav/lib/UserMigration/ContactsMigrator.php index bc0504f0e20..50a2d5f465e 100644 --- a/apps/dav/lib/UserMigration/ContactsMigrator.php +++ b/apps/dav/lib/UserMigration/ContactsMigrator.php @@ -98,7 +98,7 @@ class ContactsMigrator implements IMigrator { throw new InvalidAddressBookException(); } - ['uri' => $uri] = $addressBookInfo; + $uri = $addressBookInfo['uri']; $path = CardDAVPlugin::ADDRESSBOOK_ROOT . "/users/$userId/$uri"; -- cgit v1.2.3