Skip to content

Callable constant array not detected to be callable. #2846

@marc-mabe

Description

@marc-mabe

Bug report

Callable constant array [static::class, 'staticFunc'] not detected to be callable.

Code snippet that reproduces the problem

https://phpstan.org/r/5c021762-60c2-49fe-aada-b723f2780c28

Expected output

No error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions