-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
Bug report
PHPStan: 1.9.3
I set the return enum type using value-of and expect the enum value to match the value set by value-of
Code snippet that reproduces the problem
https://phpstan.org/r/7b0f9b3e-79d5-47f9-a73d-9dd862cfa2ab
Expected output
Dumped type: A::A|A::B
Dumped type: 'A'|'B'
Did PHPStan help you today? Did it make you happy in any way?
PHPStan helps us a lot!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels