Skip to content

Invalid property.unusedType report for nullable WeakMap property (broken since 1.12.4) #11844

Description

@janedbal

Bug report

See snippet, PHPStan shows 0 errors in 1.12.3.

Code snippet that reproduces the problem

https://phpstan.org/r/302a8b9a-5681-47cf-9c43-26db858b19a9

Expected output

No errors.

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

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions