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) {