mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Make collection type (series, set) an enum
This commit is contained in:
parent
d3b7f5015a
commit
b792dec9e5
4 changed files with 10 additions and 4 deletions
6
lib/CollectionType.php
Normal file
6
lib/CollectionType.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?
|
||||
enum CollectionType: string{
|
||||
case Series = 'series';
|
||||
case Set = 'set';
|
||||
case Unknown = 'unknown';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue