From 3abdc8204e6bc715f6d8c6ea82711598b659cb94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 2 Aug 2023 11:45:37 +0200 Subject: [PATCH] chore: remove unused variable --- DependencyInjection/DoctrineExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/DoctrineExtension.php b/DependencyInjection/DoctrineExtension.php index 524d520b6..c99b9fbe2 100644 --- a/DependencyInjection/DoctrineExtension.php +++ b/DependencyInjection/DoctrineExtension.php @@ -828,7 +828,7 @@ protected function loadOrmEntityManagerMappingInformation(array $entityManager, $this->loadMappingInformation($entityManager, $container); $this->registerMappingDrivers($entityManager, $container); - $chainDriverDef = $container->getDefinition($this->getObjectManagerElementName($entityManager['name'] . '_metadata_driver')); + $container->getDefinition($this->getObjectManagerElementName($entityManager['name'] . '_metadata_driver')); foreach (array_keys($this->drivers) as $driverType) { $mappingService = $this->getObjectManagerElementName($entityManager['name'] . '_' . $driverType . '_metadata_driver'); $mappingDriverDef = $container->getDefinition($mappingService);