Skip to content

Generic template class-string inferred as string #6505

@snapshotpl

Description

@snapshotpl

Code snippet that reproduces the problem

https://phpstan.org/r/7ce837b3-a890-4c9e-9d27-94c06b601b0a

Expected output

Dumped type: array<class-string<stdClass>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions