Skip to content

Commit

Permalink
[Form] Adapted to latest Intl changes
Browse files Browse the repository at this point in the history
  • Loading branch information
webmozart committed Apr 5, 2013
1 parent 0f6277f commit f2a0aec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CountryType extends AbstractType
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(array(
'choices' => Intl::getRegionBundle()->getCountryNames(\Locale::getDefault()),
'choices' => Intl::getRegionBundle()->getCountryNames(),
));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LanguageType extends AbstractType
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(array(
'choices' => Intl::getLanguageBundle()->getLanguageNames(\Locale::getDefault()),
'choices' => Intl::getLanguageBundle()->getLanguageNames(),
));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LocaleType extends AbstractType
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
$resolver->setDefaults(array(
'choices' => Intl::getLocaleBundle()->getLocaleNames(\Locale::getDefault()),
'choices' => Intl::getLocaleBundle()->getLocaleNames(),
));
}

Expand Down

0 comments on commit f2a0aec

Please sign in to comment.