MAPG-199 fix issues found by PHPStan
This commit is contained in:
34 files changed
+89
-68
No files matched your search
@@ -32,7 +32,7 @@ class GameController
|
||||
return new JsonContent($this->prepareGame($mapId));
|
||||
}
|
||||
|
||||
private function prepareGame(int $mapId)
|
||||
private function prepareGame(int $mapId): array
|
||||
{
|
||||
$map = $this->mapRepository->getById($mapId);
|
||||
|
||||
|
||||
Reference in new issue
Block a user