Skip to content

InvokableCases shows IDE (phpstorm) undefined method #32

@HassanDomeDenea

Description

@HassanDomeDenea

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions