Skip to content

Commit f5f64e1

Browse files
jzawadzkiOskarStark
authored andcommitted
Changed names of Intl classes in form types docs
1 parent f3bb355 commit f5f64e1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

reference/forms/types/country.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Overridden Options
7070
choices
7171
~~~~~~~
7272

73-
**default**: ``Symfony\Component\Intl\Intl::getRegionBundle()->getCountryNames()``
73+
**default**: ``Symfony\Component\Intl\Countries::getNames()``
7474

7575
The country type defaults the ``choices`` option to the whole list of countries.
7676
The locale is used to translate the countries names.

reference/forms/types/currency.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Overridden Options
6262
choices
6363
~~~~~~~
6464

65-
**default**: ``Symfony\Component\Intl\Intl::getCurrencyBundle()->getCurrencyNames()``
65+
**default**: ``Symfony\Component\Intl\Currencies::getNames()``
6666

6767
The choices option defaults to all currencies.
6868

reference/forms/types/language.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Overridden Options
7272
choices
7373
~~~~~~~
7474

75-
**default**: ``Symfony\Component\Intl\Intl::getLanguageBundle()->getLanguageNames()``.
75+
**default**: ``Symfony\Component\Intl\Languages::getNames()``.
7676

7777
The choices option defaults to all languages.
7878
The default locale is used to translate the languages names.

reference/forms/types/locale.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Overridden Options
7373
choices
7474
~~~~~~~
7575

76-
**default**: ``Symfony\Component\Intl\Intl::getLocaleBundle()->getLocaleNames()``
76+
**default**: ``Symfony\Component\Intl\Locales::getNames()``
7777

7878
The choices option defaults to all locales. It uses the default locale to
7979
specify the language.

0 commit comments

Comments
 (0)