| Conditions | 3 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function handle(FallbackRouteException $e, GameControllerInterface $game): void |
||
| 12 | { |
||
| 13 | $game->addInformation('Diese Aktion ist per Uplink nicht möglich!'); |
||
| 14 | |||
| 15 | if (request::isAjaxRequest() && !request::has('switch')) { |
||
| 16 | $game->setMacroInAjaxWindow('html/systeminformation.twig'); |
||
| 17 | } else { |
||
| 18 | $game->setViewTemplate('html/empty.twig'); |
||
| 19 | } |
||
| 22 |