Skip to content

Commit fc87ca0

Browse files
annuhXWB
authored andcommitted
Add support for Elastica 7.0.x-dev (#1551)
* Set callback param to null to pass strict type-checking * Update .gitignore
1 parent f303c0e commit fc87ca0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/DependencyInjection/FOSElasticaExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ private function loadClients(array $clients, ContainerBuilder $container)
145145

146146
$clientDef = new ChildDefinition('fos_elastica.client_prototype');
147147
$clientDef->replaceArgument(0, $clientConfig);
148+
$clientDef->replaceArgument(1, null);
148149

149150
$logger = $clientConfig['connections'][0]['logger'];
150151
if (false !== $logger) {

0 commit comments

Comments
 (0)