8000 Changed names of Intl classes in form types docs · symfony/symfony-docs@b38d2e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit b38d2e3

Browse files
committed
Changed names of Intl classes in form types docs
1 parent ec8b84b commit b38d2e3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

reference/forms/types/country.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Overridden Options
8080
choices
8181
~~~~~~~
8282

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

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

reference/forms/types/currency.rst

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Overridden Options
8282
choices
8383
~~~~~~~
8484

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

8787
The choices option defaults to all languages.
8888
The default locale is used to translate the languages names.

reference/forms/types/locale.rst

Lines changed: 1 addition & 1 deletion
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)
0