Skip to content

Commit c25ce5a

Browse files
committed
Merge branch '4.2' into 4.3
2 parents 53bbbbc + 904226a commit c25ce5a

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
@@ -1859,7 +1859,7 @@ private function registerCacheConfiguration(array $config, ContainerBuilder $con
18591859

18601860
if (!$container->getParameter('kernel.debug')) {
18611861
$propertyAccessDefinition->setFactory([PropertyAccessor::class, 'createCache']);
1862-
$propertyAccessDefinition->setArguments([null, null, $version, new Reference('logger', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)]);
1862+
$propertyAccessDefinition->setArguments([null, 0, $version, new Reference('logger', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)]);
18631863
$propertyAccessDefinition->addTag('cache.pool', ['clearer' => 'cache.system_clearer']);
18641864
$propertyAccessDefinition->addTag('monolog.logger', ['channel' => 'cache']);
18651865
} else {

0 commit comments

Comments
 (0)