Skip to content

no argument type-hinted as "container" (Symfony 3.4) #2

@tacman

Description

@tacman

I'm getting the following error with Symfony 3.4:

Invalid service "atolye15_slack_exception.listener": method "Atolye15\SlackExceptionBundle\EventListener\ExceptionListener::__construct()" has no argument type-hinted as "container". Check your service definition.

I imagine this is because of auto-wiring or private services or something like that, but don't know enough about how services are defined to fix this.

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