diff --git a/composer.json b/composer.json index 9090e16..408b1ba 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ }, "require": { "php": ">=5.5.9", - "symfony/framework-bundle": "^4.4|^5.4|^6.0", - "symfony/twig-bundle": "^4.4|^5.4|^6.0", + "symfony/framework-bundle": "^4.4|^5.4|^6.0|^7.0", + "symfony/twig-bundle": "^4.4|^5.4|^6.0|^7.0", "twig/twig": "^2.0|^3.0" }, "require-dev": { diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 6313af8..1521fd7 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -15,7 +15,7 @@ class Configuration implements ConfigurationInterface /** * {@inheritDoc} */ - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('bw_active_menu_item');