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
Similar to #8550, the enum documented in an interface @mixin annotation, it’s default property (e.g. $name) not found in class that using this interface.
There were no warnings in PHP 8.1.
In interface, @property annotation has no effect, and it cannot include member variables.
I don't know how to get around this problem.
Bug report
Similar to #8550, the enum documented in an interface
@mixin
annotation, it’s default property (e.g.$name
) not found in class that using this interface.There were no warnings in PHP 8.1.
In interface,
@property
annotation has no effect, and it cannot include member variables.I don't know how to get around this problem.
Code snippet that reproduces the problem
https://phpstan.org/r/121d662f-2b81-4ec3-a873-de6ced3715fe
Expected output
No errors!
Did PHPStan help you today? Did it make you happy in any way?
PHPStan is the best tool to develop in PHP with a good feeling!
The text was updated successfully, but these errors were encountered: