Add enum for view type and fix some type hints

This commit is contained in:
Alex Cabal 2024-05-08 11:17:53 -05:00
parent 7c8463d297
commit 8cc661015c
10 changed files with 20 additions and 30 deletions

5
lib/ViewType.php Normal file
View file

@ -0,0 +1,5 @@
<?
enum ViewType: string{
case Grid = 'grid';
case List = 'list';
}