]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(PHP8.2): Fix deprecated string interpolation syntax 36162/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Mon, 16 Jan 2023 13:13:57 +0000 (14:13 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 19 Jan 2023 12:10:02 +0000 (13:10 +0100)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
core/Command/Maintenance/RepairShareOwnership.php

index 267e0ca1d487ec00697e13316202a69f867a1d67..c4d8da7bf74f679bd37f8306d4cf5528e3576e5f 100644 (file)
@@ -77,7 +77,7 @@ class RepairShareOwnership extends Command {
                        $output->writeln("Found " . count($shares) . " shares with invalid share owner");
                        foreach ($shares as $share) {
                                /** @var array{shareId: int, fileTarget: string, initiator: string, receiver: string, owner: string, mountOwner: string} $share */
-                               $output->writeln(" - share ${share['shareId']} from \"${share['initiator']}\" to \"${share['receiver']}\" at \"${share['fileTarget']}\", owned by \"${share['owner']}\", that should be owned by \"${share['mountOwner']}\"");
+                               $output->writeln(" - share {$share['shareId']} from \"{$share['initiator']}\" to \"{$share['receiver']}\" at \"{$share['fileTarget']}\", owned by \"{$share['owner']}\", that should be owned by \"{$share['mountOwner']}\"");
                        }
                        $output->writeln("");