Skip to content

Commit b86ae28

Browse files
committed
cosmetics
1 parent 5f1b95d commit b86ae28

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

DependencyInjection/CmfRoutingExtension.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ class CmfRoutingExtension extends Extension
2222
*/
2323
public function load(array $configs, ContainerBuilder $container)
2424
{
25-
$processor = new Processor();
26-
$configuration = new Configuration();
25+
$config = $this->processConfiguration(new Configuration(), $configs);
2726
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
2827

29-
$config = $processor->processConfiguration($configuration, $configs);
30-
3128
if (!empty($config['dynamic']['enabled'])) {
3229
// load this even if no explicit enabled value but some configuration
3330
$this->setupDynamicRouter($config['dynamic'], $container, $loader);

0 commit comments

Comments
 (0)