Michael
Michael
@orklah @danog @weirdan please review!
> I wonder why this phpdoc typing is necessary. > > All enum values are known at static analysis time, so why doesn't psalm just turn the `->value`s type into...
> so you want a type which accepts any enum which is backed by a string? well, when you do enum MyEnum: string{...} aren't your already doing it? i just...
> from the phpdoc which is not already there by th Checking that the backed type is the same as the case value is not the main goal of this...
> My main issue here is that it will make any BackedEnum mandatory to be templated. If PHPStan doesn't, it will lead to complains about not being able to use...
any news about this?
@hsz could you please give a look into this?