8000 minor #12720 Changed names of Intl classes in form types docs (jzawad… · symfony/symfony-docs@03f6f1f · GitHub
[go: up one dir, main page]

Skip to content

Commit 03f6f1f

Browse files
committed
minor #12720 Changed names of Intl classes in form types docs (jzawadzki)
This PR was submitted for the 5.0 branch but it was merged into the 4.3 branch instead (closes #12720). Discussion ---------- Changed names of Intl classes in form types docs As per symfony/symfony#28846 we changed Intl classes to be more specific. Looks like some docs left with old naming. Commits ------- f5f64e1 Changed names of Intl classes in form types docs
2 parents f3bb355 + f5f64e1 commit 03f6f1f

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
@@ -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

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
@@ -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

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