Skip to content

Commit

Permalink
Remove condition
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu committed Dec 14, 2023
1 parent 2b87ebe commit b98e3bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions DependencyInjection/DoctrineMongoDBExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,10 +698,6 @@ private function deprecateClassParameters(ContainerBuilder $container): void
'doctrine_mongodb.odm.persistent_collection_cache_warmer.class' => PersistentCollectionCacheWarmer::class,
] as $parameter => $class
) {
if (! $container->hasParameter($parameter) || $container->getParameter($parameter) === $class) {
continue;
}

$container->deprecateParameter(
$parameter,
'doctrine/mongodb-odm-bundle',
Expand Down

0 comments on commit b98e3bf

Please sign in to comment.