Skip to content

Template declaration with a default type sometimes gives assign.propertyType #12688

@vudaltsov

Description

@vudaltsov

Bug report

See the snippet.

Code snippet that reproduces the problem

https://phpstan.org/r/15725e6b-9a05-41c8-b3ff-c6df237b27dd

Expected output

No errors.

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

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions