Skip to content

LoggingTranslator should implement Symfony\Contracts\Translation\TranslatorInterface #29089

@desmax

Description

@desmax

Symfony version(s) affected: 4.2 beta 1

Description
I switched my code to use new Symfony\Contracts\Translation\TranslatorInterface, but I get this error Argument .. passed to ::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Symfony\Component\Translation\LoggingTranslator given

How to reproduce
try to autowire translator

Possible Solution
LoggingTranslator should implement Symfony\Contracts\Translation\TranslatorInterface

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions