Skip to content

Commit

Permalink
fix(gamemode): int- to stringenum
Browse files Browse the repository at this point in the history
  • Loading branch information
thepercival committed Dec 23, 2023
1 parent 19c6591 commit c5179e0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions domain/GameMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@

namespace SportsHelpers;

enum GameMode: int
enum GameMode: string
{
case Single = 1;
case Against = 2;
case AllInOneGame = 3;
// just package

case Single = 'single';
case Against = 'against';
case AllInOneGame = 'allInOneGame';
}

0 comments on commit c5179e0

Please sign in to comment.