Skip to content

Make NotNullInt10DatabaseTableColumn et al not inherit some other class #4563

@TimWolla

Description

@TimWolla

These classes are dumb factories. The create() method already returns objects of the base class. For this reason they should not inherit from the base class and the constructor should be made private to prevent objects of these classes from being created.

As an example it's just not useful to be able to call a ->length(XXX) method on these classes when the length is implied within the class name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions