Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Container linter emits an error when you bind as argument a service implementing the interface specified in the constructor #35420

Closed
@pfazzi

Description

@pfazzi

Symfony version(s) affected: 4.4.3

Description
Container linter emits an error when you bind as argument a service implementing the interface specified in the constructor.

For instance Sylius\Component\Resource\Metadata\Metadata is instance of Sylius\Component\Resource\Metadata\MetadataInterface but i get the following error:

image

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