From fac08ec7d3ccb6e7743c6fe9efa80e4a17cb466b Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 27 Jul 2023 11:30:49 +0200 Subject: [PATCH] add return type for Symfony 7 compatibility --- .../twig-extra-bundle/DependencyInjection/Configuration.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/extra/twig-extra-bundle/DependencyInjection/Configuration.php b/extra/twig-extra-bundle/DependencyInjection/Configuration.php index 447e6ac76..24c5fd4d3 100644 --- a/extra/twig-extra-bundle/DependencyInjection/Configuration.php +++ b/extra/twig-extra-bundle/DependencyInjection/Configuration.php @@ -17,10 +17,7 @@ use Twig\Extra\TwigExtraBundle\Extensions; class Configuration implements ConfigurationInterface { - /** - * @return TreeBuilder - */ - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('twig_extra'); $rootNode = $treeBuilder->getRootNode();