Skip to content

Commit

Permalink
setup correct autowiring
Browse files Browse the repository at this point in the history
  • Loading branch information
transistive committed Jan 2, 2024
1 parent 1fb7895 commit cd52b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Neo4jExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function load(array $configs, ContainerBuilder $container): ContainerBuil

if (0 !== count($enabledProfiles)) {
$container->setDefinition('neo4j.data_collector', (new Definition(Neo4jDataCollector::class))
->setArgument(0, new Reference('neo4j.client_factory'))
->setAutowired(true)
->addTag('data_collector')
);

Expand Down

0 comments on commit cd52b3a

Please sign in to comment.