diff --git a/composer.json b/composer.json index 35f8b47..911c55c 100644 --- a/composer.json +++ b/composer.json @@ -15,17 +15,17 @@ "require": { "php": ">=7.1", "doctrine/orm": "^2.6.3", - "symfony/property-access": "^4.4 || ^5.4 || ^6.0", - "symfony/property-info": "^4.4 || ^5.4 || ^6.0", - "symfony/serializer": "^4.4 || ^5.4 || ^6.0" + "symfony/property-access": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/property-info": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/serializer": "^4.4 || ^5.4 || ^6.0 || ^7.0" }, "require-dev": { "doctrine/annotations": "^1.0", "doctrine/doctrine-bundle": "^1.12.13 || ^2.2", "doctrine/dbal": "^2.7 || ^3.3", - "symfony/finder": "^4.4 || ^5.4 || ^6.0", - "symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0", - "symfony/phpunit-bridge": "^6.0" + "symfony/finder": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/phpunit-bridge": "^6.0 || ^7.0" }, "suggest": { "symfony/framework-bundle": "To use the provided bundle.", diff --git a/src/Bundle/DependencyInjection/Configuration.php b/src/Bundle/DependencyInjection/Configuration.php index 8b597a3..339d3c2 100644 --- a/src/Bundle/DependencyInjection/Configuration.php +++ b/src/Bundle/DependencyInjection/Configuration.php @@ -17,7 +17,7 @@ final class Configuration implements ConfigurationInterface /** * @return TreeBuilder */ - public function getConfigTreeBuilder() + public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('dunglas_doctrine_json_odm');