Skip to content

Only first variadic param is checked #12037

@integer

Description

@integer

Bug report

For variadic params only first parameter is checked. See snippet

Code snippet that reproduces the problem

https://phpstan.org/r/b3c93b4a-7d0b-424f-9f43-94669e7ef2d0

Expected output

Complains about no type of $callable[1].

Did PHPStan help you today? Did it make you happy in any way?

Yes, thanks

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