8000 Fix typo · symfony/symfony-docs@04e38dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 04e38dd

Browse files
authored
Fix typo
1 parent 848db94 commit 04e38dd

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