Skip to content

Commit b3a32af

Browse files
committed
Merge branch '2.8'
2 parents 3cdbc7c + cb482dc commit b3a32af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/translation/introduction.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ example, assume you're trying to translate into the ``fr_FR`` locale:
168168
fallback locales set explicitly on the translator.
169169

170170
For (3), the fallback locales can be set by calling
171-
:method:`Symfony\\Component\\Translation\\Translator::setFallbackLocale`::
171+
:method:`Symfony\\Component\\Translation\\Translator::setFallbackLocales`::
172172

173173
// ...
174-
$translator->setFallbackLocale(array('en'));
174+
$translator->setFallbackLocales(array('en'));
175175

176176
.. _using-message-domains:
177177

contributing/code/tests.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ the follow command:
4545

4646
.. code-block:: bash
4747
48-
$ composer --dev update
48+
$ composer update
4949
5050
Running
5151
-------

0 commit comments

Comments
 (0)