-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Translation] Improve tests coverage #52746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Translation] Improve tests coverage #52746
Conversation
} | ||
|
||
return strtr($message, $parameters); | ||
return $this->translator->trans($message, $parameters, null, $locale); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$this->translator
cannot be anything else than a TranslatorInterface
, as typed in the constructor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging it in 6.4 as this is not a new feature and code changes.
Can you rebase on 6.4? |
0b91824
to
f49dcf5
Compare
Thank you @alexandre-daubois. |
Improves overall coverage on the Translation component.