Skip to content

Commit 5506a64

Browse files
committed
fix CachePoolPass
1 parent e5d644e commit 5506a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Cache/DependencyInjection/CachePoolPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function process(ContainerBuilder $container)
5858
continue;
5959
}
6060
$class = $adapter->getClass();
61-
while ($adapter instanceof ChildDefinition) {
61+
while (ChainAdapter::class !== $class && $adapter instanceof ChildDefinition) {
6262
$adapter = $container->findDefinition($adapter->getParent());
6363
$class = $class ?: $adapter->getClass();
6464
if ($t = $adapter->getTag('cache.pool')) {

0 commit comments

Comments
 (0)