Christoph

Avatar
  • 活动总数 2
  • 最后的活动
  • 成员加入日期
  • 关注 0 名用户
  • 关注者数 0 名用户
  • 投票数 0
  • 订阅数 1
  • Christoph 创建了一个帖子,

    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 ...