Skip to content

Commit

Permalink
fix(enum) update route enum to replace _ with -
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAnyx committed Nov 22, 2024
1 parent 17975e9 commit f4276c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Enum/CountCriteria/FlashcardCountCriteria.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ enum FlashcardCountCriteria: string

case ALL = 'all';

case TO_REVIEW = 'to_review';
case TO_REVIEW = 'to-review';

case CORRECT = 'correct';
}
4 changes: 2 additions & 2 deletions src/Enum/CountCriteria/ReviewCountCriteria.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ enum ReviewCountCriteria: string

case ALL = 'all';

case ONLY_VALID = 'only_valid';
case ONLY_VALID = 'only-valid';

case GROUP_BY_DATE = 'group_by_date';
case GROUP_BY_DATE = 'group-by-date';
}
2 changes: 1 addition & 1 deletion src/Enum/CountCriteria/SessionCountCriteria.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ enum SessionCountCriteria: string

case ALL = 'all';

case GROUP_BY_DATE = 'group_by_date';
case GROUP_BY_DATE = 'group-by-date';
}

0 comments on commit f4276c5

Please sign in to comment.