shapefile icon indicating copy to clipboard operation
shapefile copied to clipboard

Change the ShapeType class to be an enum

Open MauricioFauth opened this issue 2 years ago • 0 comments

The PhpMyAdmin\ShapeFile\ShapeType class should be changed to a PHP backed enum and the ShapeType constants should be turned into enum cases.

Currently, the ShapeFile class accepts any integer as a shape type. Only the shape type defined in the ShapeType class should be accepted.

  • Related to #26

MauricioFauth avatar Sep 19 '23 23:09 MauricioFauth