Skip to content

Callable generics problem #4148

@b1rdex

Description

@b1rdex

https://phpstan.org/r/803fa0f3-b8ce-479f-888f-d1fbecfba61f

It correctly gets return type from callable but then complains that it's wrong.
Am I doing it wrong or is it a bug?

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