diff --git a/src/Maker/MakeTwigComponent.php b/src/Maker/MakeTwigComponent.php index a55f34228..e72da5096 100644 --- a/src/Maker/MakeTwigComponent.php +++ b/src/Maker/MakeTwigComponent.php @@ -71,7 +71,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen $factory = $generator->createClassNameDetails( $name, - str_replace($generator->getRootNamespace() . "\\", "", $this->namespace), + str_replace($generator->getRootNamespace().'\\', '', $this->namespace), ); $templatePath = str_replace('\\', '/', $factory->getRelativeNameWithoutSuffix());