enums icon indicating copy to clipboard operation
enums copied to clipboard

InvokableCases shows IDE (phpstorm) undefined method

Open HassanDomeDenea opened this issue 2 months ago • 0 comments

I'm using InvokableCases trait on my enum, when I use it like: MyEnum::MyCase(), I get a red wavy line under MyCase saying method is undefined, though it works well in runtime.

I'm using laravel Idea, can there be a solution to make PHPStorm happy about them ?

HassanDomeDenea avatar Nov 13 '25 14:11 HassanDomeDenea