mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 10:02:02 -04:00
Convert SORT_COVER_ constants to an enum
This commit is contained in:
parent
09b4385100
commit
004a4a27c3
4 changed files with 11 additions and 8 deletions
6
lib/ArtworkSort.php
Normal file
6
lib/ArtworkSort.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?
|
||||
enum ArtworkSort: string{
|
||||
case CreatedNewest = 'created-newest';
|
||||
case ArtistAlpha = 'artist-alpha';
|
||||
case CompletedNewest = 'completed-newest';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue