Convert SORT_COVER_ constants to an enum

This commit is contained in:
Mike Colagrosso 2024-01-29 23:20:29 -07:00 committed by Alex Cabal
parent 09b4385100
commit 004a4a27c3
4 changed files with 11 additions and 8 deletions

6
lib/ArtworkSort.php Normal file
View file

@ -0,0 +1,6 @@
<?
enum ArtworkSort: string{
case CreatedNewest = 'created-newest';
case ArtistAlpha = 'artist-alpha';
case CompletedNewest = 'completed-newest';
}