Skip to content

make:entity --regenerate breaks if entity has enums #1732

@papppeter

Description

@papppeter

Hi,

i have some entity with enums, did created successfully with make:entity, i can even add more enums. but if i try to regenare all my entities enums breaks the process.

In ClassSourceManipulator.php line 1369:

Cannot build a node expr for value of type "object"

i checked, and if dump the object it shows the first case from my backed enum.

thanks for your help!

ver: v1.64.0

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