From 1af518a2fd74fdf2d8b78de1a99899e44e8db8b9 Mon Sep 17 00:00:00 2001 From: Marvin Feldmann Date: Wed, 7 Sep 2022 18:58:43 +0200 Subject: [PATCH] Fix service definition to remove --- DependencyInjection/DoctrineExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/DoctrineExtension.php b/DependencyInjection/DoctrineExtension.php index a24926e27..03db8b4b1 100644 --- a/DependencyInjection/DoctrineExtension.php +++ b/DependencyInjection/DoctrineExtension.php @@ -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)) {