8000 bug #12171 Fix typo (ro0NL) · symfony/symfony-docs@c4ea8f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4ea8f6

Browse files
committed
bug #12171 Fix typo (ro0NL)
This PR was merged into the 4.3 branch. Discussion ---------- Fix typo <!-- If your pull request fixes a B 8000 UG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 04e38dd Fix typo
2 parents 848db94 + 04e38dd commit c4ea8f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/intl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ for traditional Chinese)::
117117
All methods accept the translation locale as the last, optional parameter,
118118
which defaults to the current default locale::
119119

120-
$languages = Scripts::getNames('de');
120+
$scripts = Scripts::getNames('de');
121121
// => ['Adlm' => 'Adlam', 'Afak' => 'Afaka', ...]
122122

123-
$language = Scripts::getName('Hans', 'de');
123+
$script = Scripts::getName('Hans', 'de');
124124
// => 'Vereinfacht'
125125

126126
If the given script code doesn't exist, the methods trigger a

0 commit comments

Comments
 (0)
0