FrankProjects/UltimateWarfare

View on GitHub
src/Controller/Game/SectorController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method sector has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function sector(int $sectorId): Response
    {
        $player = $this->getPlayer();
        $sector = $this->worldSectorRepository->findByIdAndWorld($sectorId, $player->getWorld());

Severity: Minor
Found in src/Controller/Game/SectorController.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status