From 6501bd8911f7c2c64d1945cdf1223614a37741e6 Mon Sep 17 00:00:00 2001 From: Jan Lukowicz Date: Tue, 14 Nov 2023 11:12:18 +0100 Subject: [PATCH] BOSS-30433 Update variable in string to php8 --- source/CodeGenerator/ClassBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/CodeGenerator/ClassBlock.php b/source/CodeGenerator/ClassBlock.php index bcc8035..eb0fadb 100644 --- a/source/CodeGenerator/ClassBlock.php +++ b/source/CodeGenerator/ClassBlock.php @@ -209,7 +209,7 @@ protected function dumpContent() $lines = []; $lines[] = $this->dumpHeader(); foreach ($this->uses as $use) { - $lines[] = $this->indent("use ${use};"); + $lines[] = $this->indent("use {$use};"); $lines[] = ''; } foreach ($this->constants as $constant) {