Skip to content

Commit 5e964ed

Browse files
authored
Add compatibility for symfony/config 7.x (#41)
* Add compatibility for `symfony/config` `7.x` * add dependency
1 parent 2654a1d commit 5e964ed

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"ext-pdo": "*",
1616
"contao/core-bundle": "^4.13 || ^5.0",
1717
"codefog/contao-haste": "^5.0",
18-
"doctrine/dbal": "^2.12 || ^3.0"
18+
"doctrine/dbal": "^2.12 || ^3.0",
19+
"symfony/config": "^5.4 || ^6.4 || ^7.0"
1920
},
2021
"require-dev": {
2122
"contao/manager-plugin": "^2.0",

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Configuration implements ConfigurationInterface
2020
/**
2121
* {@inheritdoc}
2222
*/
23-
public function getConfigTreeBuilder()
23+
public function getConfigTreeBuilder(): TreeBuilder
2424
{
2525
$treeBuilder = new TreeBuilder('codefog_tags');
2626

0 commit comments

Comments
 (0)