Skip to content

Commit 7b276b1

Browse files
committed
Minor fix in the String doc
1 parent 652bf5b commit 7b276b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/string.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,7 @@ In a Symfony application, you don't need to create the slugger yourself. Thanks
438438
to :doc:`service autowiring </service_container/autowiring>`, you can inject a
439439
slugger by type-hinting a service constructor argument with the
440440
:class:`Symfony\\Component\\String\\Slugger\\SluggerInterface`. The locale of
441-
the injected slugger is the value of the application's
442-
:ref:`default_locale option <config-framework-default_locale>`::
441+
the injected slugger is the same as the request locale::
443442

444443
use Symfony\Component\String\Slugger\SluggerInterface;
445444

0 commit comments

Comments
 (0)