Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 4 | public function getConfigPath(): string |
|
35 | { |
||
36 | 4 | return match ($this) { |
|
37 | 4 | self::ADMIN => 'admin', |
|
38 | 4 | self::CACHE => 'cache', |
|
39 | 4 | self::COLONY => 'colony', |
|
40 | 4 | self::DB => 'db', |
|
41 | 4 | self::DEBUG => 'debug', |
|
42 | 4 | self::GAME => 'game', |
|
43 | 4 | self::MAP => 'map', |
|
44 | 4 | self::RESET => 'reset', |
|
45 | 4 | self::SQL_LOGGING => 'sqlLogging', |
|
46 | 4 | self::EMAIL => 'email' |
|
47 | 4 | }; |
|
50 |