master
ELF 4 years ago
parent 07f7bca3ee
commit 1f3eaa06da

@ -517,7 +517,7 @@ class TestingResourceService
return $gameResource->getResourceTypes(); return $gameResource->getResourceTypes();
} }
public function getResources($game, $typeId) public function getResources($game, $typeId = null)
{ {
$gameResource = new GameResource($game); $gameResource = new GameResource($game);
return $gameResource->getResources($typeId); return $gameResource->getResources($typeId);

Loading…
Cancel
Save