diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 298ba7b..4bb9b6f 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -17,8 +17,7 @@ class Configuration implements ConfigurationInterface */ public function getConfigTreeBuilder() { - $treeBuilder = new TreeBuilder(); - $rootNode = $treeBuilder->root('serwer_sms_serwer_sms'); + $treeBuilder = new TreeBuilder('serwer_sms_serwer_sms'); // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for diff --git a/composer.json b/composer.json index 7e5e8cd..f5a0464 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name" : "serwersms/serwersmsbundle", "description" : "This is a Symfony2,3,4 Bundle for communication with the API v2 SerwerSMS.pl", "type" : "symfony-bundle", - "version": "1.0.3", + "version": "1.0.4", "authors": [ { "name": "SerwerSMS.pl",