Skip to content

Commit 904226a

Browse files
committed
Merge branch '3.4' into 4.2
2 parents 0cf75ee + 8fde87a commit 904226a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@ private function registerCacheConfiguration(array $config, ContainerBuilder $con
16931693

16941694
if (!$container->getParameter('kernel.debug')) {
16951695
$propertyAccessDefinition->setFactory([PropertyAccessor::class, 'createCache']);
1696-
$propertyAccessDefinition->setArguments([null, null, $version, new Reference('logger', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)]);
1696+
$propertyAccessDefinition->setArguments([null, 0, $version, new Reference('logger', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)]);
16971697
$propertyAccessDefinition->addTag('cache.pool', ['clearer' => 'cache.system_clearer']);
16981698
$propertyAccessDefinition->addTag('monolog.logger', ['channel' => 'cache']);
16991699
} else {

0 commit comments

Comments
 (0)