Skip to content

Commit c4ea5cf

Browse files
committed
fix merge
1 parent 16e5820 commit c4ea5cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/DependencyInjection/FrameworkExtensionTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
use Symfony\Component\DependencyInjection\Definition;
4141
use Symfony\Component\DependencyInjection\Exception\LogicException;
4242
use Symfony\Component\DependencyInjection\Loader\ClosureLoader;
43+
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
4344
use Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag;
4445
use Symfony\Component\DependencyInjection\Reference;
4546
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
@@ -1693,7 +1694,7 @@ public function testCachePoolServices()
16931694
->replaceArgument(0, $expectedSeed)
16941695
->replaceArgument(1, 12),
16951696
(new ChildDefinition('cache.adapter.redis'))
1696-
->replaceArgument(0, new Reference('.cache_connection.U5HliuY'))
1697+
->replaceArgument(0, new Reference('.cache_connection.'.(\count((new \ReflectionMethod(ContainerConfigurator::class, 'extension'))->getParameters()) > 2 ? 'U5HliuY' : 'kYdiLgf')))
16971698
->replaceArgument(1, $expectedSeed)
16981699
->replaceArgument(2, 12),
16991700
],

0 commit comments

Comments
 (0)