File tree 3 files changed +3
-3
lines changed
src/Symfony/Component/Form/Extension/Core/Type
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class CountryType extends AbstractType
24
24
public function setDefaultOptions (OptionsResolverInterface $ resolver )
25
25
{
26
26
$ resolver ->setDefaults (array (
27
- 'choices ' => Intl::getRegionBundle ()->getCountryNames (\Locale:: getDefault () ),
27
+ 'choices ' => Intl::getRegionBundle ()->getCountryNames (),
28
28
));
29
29
}
30
30
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class LanguageType extends AbstractType
24
24
public function setDefaultOptions (OptionsResolverInterface $ resolver )
25
25
{
26
26
$ resolver ->setDefaults (array (
27
- 'choices ' => Intl::getLanguageBundle ()->getLanguageNames (\Locale:: getDefault () ),
27
+ 'choices ' => Intl::getLanguageBundle ()->getLanguageNames (),
28
28
));
29
29
}
30
30
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class LocaleType extends AbstractType
24
24
public function setDefaultOptions (OptionsResolverInterface $ resolver )
25
25
{
26
26
$ resolver ->setDefaults (array (
27
- 'choices ' => Intl::getLocaleBundle ()->getLocaleNames (\Locale:: getDefault () ),
27
+ 'choices ' => Intl::getLocaleBundle ()->getLocaleNames (),
28
28
));
29
29
}
30
30
You can’t perform that action at this time.
0 commit comments