Christoph
- Total activity 2
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 1
-
Christoph created a post, no inspection for invalid enum to string comparison
I would expect to get a warning if I compare a backed enum to a string without using ->valueThe code below does not complain when using ==. Only with ===.However, what should it cast to when using ...