Skip to content

Improve constant array as callable with unions of constant strings #2343

@ondrejmirtes

Description

@ondrejmirtes

Bug report

Code snippet that reproduces the problem

https://phpstan.org/r/34956aa9-a75c-42f8-a12f-67d1625cb327

Expected output

No errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions