Skip to content

lint:container handles callable arguments incorrectly #35066

Closed
@Tetragramat

Description

@Tetragramat

Symfony version(s) affected: 4.4.2

Description
lint:container handles callable arguments incorrectly

In CheckTypeDeclarationsPass.php line 185:
                                                                                                                                                 
  Invalid definition for service ".3_HandlerStack~SOtgqKJ": argument 1 of "GuzzleHttp\HandlerStack::push" accepts "callable", "Closure" passed.

Callable should allow closure as passed argument.

see https://3v4l.org/WTHY4

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