From 9dca88aa800d1e54cc8ed61cac91892ec642948f Mon Sep 17 00:00:00 2001 From: seb-jean Date: Mon, 26 Sep 2022 13:12:36 +0200 Subject: [PATCH 1/2] Update MakeTwigExtension.php --- src/Maker/MakeTwigExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Maker/MakeTwigExtension.php b/src/Maker/MakeTwigExtension.php index a63920247..464fbf792 100644 --- a/src/Maker/MakeTwigExtension.php +++ b/src/Maker/MakeTwigExtension.php @@ -51,7 +51,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen { $extensionClassNameDetails = $generator->createClassNameDetails( $input->getArgument('name'), - 'Twig\\', + 'Twig\\Extension', 'Extension' ); From e7e4397709006b0ba782448234561ce304b94410 Mon Sep 17 00:00:00 2001 From: seb-jean Date: Mon, 26 Sep 2022 13:29:37 +0200 Subject: [PATCH 2/2] Update src/Maker/MakeTwigExtension.php Co-authored-by: Oskar Stark --- src/Maker/MakeTwigExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Maker/MakeTwigExtension.php b/src/Maker/MakeTwigExtension.php index 464fbf792..1ed8fd917 100644 --- a/src/Maker/MakeTwigExtension.php +++ b/src/Maker/MakeTwigExtension.php @@ -51,7 +51,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen { $extensionClassNameDetails = $generator->createClassNameDetails( $input->getArgument('name'), - 'Twig\\Extension', + 'Twig\\Extension\\', 'Extension' );