Skip to content

Commit 8d68e53

Browse files
committed
Upgrading for better code quality
1 parent 269dd6a commit 8d68e53

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Configuration implements ConfigurationInterface
2727
public function getConfigTreeBuilder()
2828
{
2929
$treeBuilder = new TreeBuilder();
30-
$rootNode = $treeBuilder->root('expanded_collection');
30+
//$rootNode = $treeBuilder->root('expanded_collection');
3131

3232
// Here you should define the parameters that are allowed to
3333
// configure your bundle. See the documentation linked above for

DependencyInjection/ExpandedCollectionExtension.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ class ExpandedCollectionExtension extends Extension
2828
*/
2929
public function load(array $configs, ContainerBuilder $container)
3030
{
31-
$configuration = new Configuration();
32-
$config = $this->processConfiguration($configuration, $configs);
33-
3431
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
3532
$loader->load('services.yml');
3633
}

0 commit comments

Comments
 (0)