From 2e66acfab800d85a7afa58a637af92606658bfe4 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 16 Jan 2023 14:13:57 +0100 Subject: [PATCH] fix(PHP8.2): Fix deprecated string interpolation syntax Signed-off-by: Christoph Wurst --- core/Command/Maintenance/RepairShareOwnership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/Maintenance/RepairShareOwnership.php b/core/Command/Maintenance/RepairShareOwnership.php index 267e0ca1d48..c4d8da7bf74 100644 --- a/core/Command/Maintenance/RepairShareOwnership.php +++ b/core/Command/Maintenance/RepairShareOwnership.php @@ -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("");