Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitef3be0b

Browse files
bug#29090 LoggingTranslator should implement Symfony\Contracts\Translation\TranslatorInterface (desmax)
This PR was merged into the 4.2-dev branch.Discussion----------LoggingTranslator should implement Symfony\Contracts\Translation\TranslatorInterface| Q | A| ------------- | ---| Branch? | master| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#29089| License | MITWhile autowiring Translator using `Symfony\Contracts\Translation\TranslatorInterface` symfony complains that wrong service was injected, because LoggingTranslator does not implement new interface.Commits-------65f321f LoggingTranslator should implement Symfony\Contracts\Translation\TranslatorInterface
2 parentsf9198c2 +65f321f commitef3be0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Translation/LoggingTranslator.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @author Abdellatif Ait boudad <a.aitboudad@gmail.com>
2121
*/
22-
class LoggingTranslatorimplements LegacyTranslatorInterface, TranslatorBagInterface
22+
class LoggingTranslatorimplementsTranslatorInterface,LegacyTranslatorInterface, TranslatorBagInterface
2323
{
2424
/**
2525
* @var TranslatorInterface|TranslatorBagInterface

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp