Skip to content

Commit

Permalink
Merge pull request #3 from calmohallag/master
Browse files Browse the repository at this point in the history
fixed: Symfony Tree Builder deprecation
  • Loading branch information
mashware authored Apr 2, 2020
2 parents 58982b6 + e77cb05 commit d027fc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": "^7.1.3",
"symfony/framework-bundle": "^4.0"
"symfony/framework-bundle": "^4.2"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$treeBuilder = new TreeBuilder('apixception');
$treeBuilder
->root('apixception')
->getRootNode()
->arrayPrototype()
->addDefaultsIfNotSet()
->children()
Expand Down

0 comments on commit d027fc5

Please sign in to comment.