Skip to content

Commit 171ab42

Browse files
authored
Fix binding for ORM AbstractFilter (#4789)
1 parent 608518d commit 171ab42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,7 @@ private function registerDoctrineOrmConfiguration(ContainerBuilder $container, a
663663
->addTag('api_platform.doctrine.orm.query_extension.collection');
664664
$container->registerForAutoconfiguration(DoctrineOrmAbstractContextAwareFilter::class)
665665
->setBindings(['$requestStack' => null]);
666-
$container->registerForAutoconfiguration(DoctrineOrmAbstractFilter::class)
667-
->setBindings(['$requestStack' => null]);
666+
$container->registerForAutoconfiguration(DoctrineOrmAbstractFilter::class);
668667

669668
$loader->load('doctrine_orm.xml');
670669
$loader->load('legacy/doctrine_orm.xml');

0 commit comments

Comments
 (0)