8000 minor #18990 [FrameworkBundle] Remove unused variable (dunglas) · symfony/symfony@112cb1f · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 112cb1f

Browse files
committed
minor #18990 [FrameworkBundle] Remove unused variable (dunglas)
This PR was merged into the 3.1 branch. Discussion ---------- [FrameworkBundle] Remove unused variable | Q | A | ------------- | --- | Branch? |3.1 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- f6229c7 [FrameworkBundle] Remove unused variable
2 parents 1e67301 + f6229c7 commit 112cb1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function load(array $configs, ContainerBuilder $container)
126126
$this->registerFragmentsConfiguration($config['fragments'], $container, $loader);
127127
$this->registerTranslatorConfiguration($config['translator'], $container);
128128
$this->registerProfilerConfiguration($config['profiler'], $container, $loader);
129-
$this->registerCacheConfiguration($config['cache'], $container, $loader);
129+
$this->registerCacheConfiguration($config['cache'], $container);
130130

131131
if ($this->isConfigEnabled($container, $config['router'])) {
132132
$this->registerRouterConfiguration($config['router'], $container, $loader);
@@ -1035,7 +1035,7 @@ private function registerPropertyInfoConfiguration(array $config, ContainerBuild
10351035
}
10361036
}
10371037

1038-
private function registerCacheConfiguration(array $config, ContainerBuilder $container, XmlFileLoader $loader)
1038+
private function registerCacheConfiguration(array $config, ContainerBuilder $container)
10391039
{
10401040
$version = substr(str_replace('/', '-', base64_encode(md5(uniqid(mt_rand(), true), true))), 0, -2);
10411041
$container->getDefinition('cache.adapter.apcu')->replaceArgument(2, $version);

0 commit comments

Comments
 (0)
0