File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/Autocomplete/src/Form Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1919use Symfony \Component \OptionsResolver \Options ;
2020use Symfony \Component \OptionsResolver \OptionsResolver ;
2121use 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 ([
You can’t perform that action at this time.
0 commit comments