Skip to content

make:entitiy: Omit the meanwhile unnecessary enumType #1734

@ThomasLandauer

Description

@ThomasLandauer

This is the code that's now generated for an enumType:

#[ORM\Column(enumType: Suit::class)]
private ?Suit $suit = null;

However, setting an explicit enumType on the Column isn't needed anymore, so I'm suggesting to omit it and just generate:

#[ORM\Column]
private ?Suit $suit = null;

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