Skip to content

[Insight] The Symfony Dependency Injection Container should not be passed as an argument - in Configuration/ConfigManager.php, line 20 #105

@gonzaloalonsod

Description

@gonzaloalonsod

in Configuration/ConfigManager.php, line 20

A Symfony dependency injection container has been found as an argument.

{
    private $backendConfig;
    /** @var ContainerInterface */
    private $container;

    public function __construct(ContainerInterface $container)
    {
        $this->container = $container;
    }

    /**

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions