| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function getParent(): ?StuConfigSettingEnum |
||
| 18 | { |
||
| 19 | return match ($this) { |
||
| 20 | self::ADMIN => self::GAME, |
||
| 21 | self::CACHE => null, |
||
| 22 | self::COLONY => self::GAME, |
||
| 23 | self::DB => null, |
||
| 24 | self::DEBUG => null, |
||
| 25 | self::GAME => null, |
||
| 26 | self::MAP => self::GAME, |
||
| 27 | self::RESET => null, |
||
| 28 | self::SQL_LOGGING => self::DEBUG |
||
| 29 | }; |
||
| 47 |