You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The acceptedType in this sample is TemplateMixedType, which gets wiped out by StrictMixedType. I surmise that TMemberType of object doesn't have the same problem.
Bug report
This bug only occurs when using
checkExplicitMixed
.Code snippet that reproduces the problem
https://phpstan.org/r/c4e62cc8-4e3d-4637-b060-bbba2ec52f69
It doesn't reproduce on phpstan.org because
checkExplicitMixed
isn't available there.Expected output
No error should be reported.
The text was updated successfully, but these errors were encountered: