Skip to content

Commit

Permalink
Fix service definition to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
BreyndotEchse authored and ostrolucky committed Sep 8, 2022
1 parent 71d6411 commit 1af518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/DoctrineExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ protected function ormLoad(array $config, ContainerBuilder $container)

// available in Symfony 6.2 and higher
if (! class_exists(EntityValueResolver::class)) {
$container->removeDefinition('doctrine.orm.entity_value_resolvers');
$container->removeDefinition('doctrine.orm.entity_value_resolver');
$container->removeDefinition('doctrine.orm.entity_value_resolver.expression_language');
} else {
if (! class_exists(ExpressionLanguage::class)) {
Expand Down

0 comments on commit 1af518a

Please sign in to comment.