Commit 6f2d09c
committed
minor #9119 Update translation.rst (jakumi)
This PR was submitted for the 4.0 branch but it was squashed and merged into the 2.7 branch instead (closes #9119).
Discussion
----------
Update translation.rst
`MessageSelector` doesn't implement `Symfony\Component\Translation\Formatter\MessageFormatterInterface` - the expected second parameter for `Translator::__construct`, which is generated if not provided anyway. removing the second parameter in the example seems like the best option imho.
Commits
-------
33ac660 Update translation.rst1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
0 commit comments