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