Skip to content

Commit 0f97f56

Browse files
committed
Remove call to removed ExtraLazyChoiceLoader
1 parent 8bfd71e commit 0f97f56

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Autocomplete/src/Form/BaseEntityAutocompleteType.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use Symfony\Component\OptionsResolver\Options;
2020
use Symfony\Component\OptionsResolver\OptionsResolver;
2121
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
22-
use Symfony\UX\Autocomplete\Form\ChoiceList\Loader\ExtraLazyChoiceLoader;
2322

2423
/**
2524
* All form types that want to expose autocomplete functionality should use this for its getParent().
@@ -43,11 +42,7 @@ public function configureOptions(OptionsResolver $resolver): void
4342
return null;
4443
}
4544

46-
if (class_exists(LazyChoiceLoader::class)) {
47-
return new LazyChoiceLoader($loader);
48-
}
49-
50-
return new ExtraLazyChoiceLoader($loader);
45+
return new LazyChoiceLoader($loader);
5146
};
5247

5348
$resolver->setDefaults([

0 commit comments

Comments
 (0)