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 19
19
use Symfony \Component \OptionsResolver \Options ;
20
20
use Symfony \Component \OptionsResolver \OptionsResolver ;
21
21
use Symfony \Component \Routing \Generator \UrlGeneratorInterface ;
22
- use Symfony \UX \Autocomplete \Form \ChoiceList \Loader \ExtraLazyChoiceLoader ;
23
22
24
23
/**
25
24
* 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
43
42
return null ;
44
43
}
45
44
46
- if (class_exists (LazyChoiceLoader::class)) {
47
- return new LazyChoiceLoader ($ loader );
48
- }
49
-
50
- return new ExtraLazyChoiceLoader ($ loader );
45
+ return new LazyChoiceLoader ($ loader );
51
46
};
52
47
53
48
$ resolver ->setDefaults ([
You can’t perform that action at this time.
0 commit comments