MAPG-199 fix issues found by PHPStan

This commit is contained in:
bence committed 2020-07-05 23:18:56 +02:00
1 parent 39d691fd7f
commit af98d71924
34 files changed
+89 -68

No files matched your search

+1 -1
View File
@@ -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);