File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ public function process(ContainerBuilder $container)
56
56
return ;
57
57
}
58
58
$ factory = array (AbstractAdapter::class, 'createSystemCache ' );
59
- $ annotationsPool = $ container ->getDefinition ('cache.annotations ' );
59
+ $ annotationsPool = $ container ->findDefinition ('cache.annotations ' );
60
60
if ($ factory !== $ annotationsPool ->getFactory () || 4 !== count ($ annotationsPool ->getArguments ())) {
61
61
return ;
62
62
}
63
63
if ($ container ->has ('monolog.logger.cache ' )) {
64
64
$ annotationsPool ->addArgument (new Reference ('monolog.logger.cache ' ));
65
65
} elseif ($ container ->has ('cache.system ' )) {
66
- $ systemPool = $ container ->getDefinition ('cache.system ' );
66
+ $ systemPool = $ container ->findDefinition ('cache.system ' );
67
67
if ($ factory === $ systemPool ->getFactory () && 5 <= count ($ systemArgs = $ systemPool ->getArguments ())) {
68
68
$ annotationsPool ->addArgument ($ systemArgs [4 ]);
69
69
}
You can’t perform that action at this time.
0 commit comments