Skip to content

Commit

Permalink
chore: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored and ostrolucky committed Aug 2, 2023
1 parent 29876ae commit 3abdc82
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 @@ -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);
Expand Down

0 comments on commit 3abdc82

Please sign in to comment.