8000 Fixed configuration processing · symfonycorp/connect-bundle@095497c · GitHub
[go: up one dir, main page]

Skip to content 8000
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit 095497c

Browse files
Fixed configuration processing
1 parent 0d86bac commit 095497c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

DependencyInjection/SensioLabsConnectExtension.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace SensioLabs\Bundle\ConnectBundle\DependencyInjection;
1313

1414
use Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension;
15-
use Symfony\Component\Config\Definition\Processor;
1615
use Symfony\Component\Config\FileLocator;
1716
use Symfony\Component\DependencyInjection\ContainerBuilder;
1817
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
@@ -34,8 +33,7 @@ public function enableSecurity()
3433

3534
public function load(array $configs, ContainerBuilder $container)
3635
{
37-
$processor = new Processor();
38-
$config = $processor->processConfiguration(new Configuration(), $configs);
36+
$config = $this->processConfiguration(new Configuration(), $configs);
3937

4038
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
4139
$loader->load('connect.xml');

0 commit comments

Comments
 (0)
0