mirror of
https://github.com/furyfire/trueskill.git
synced 2025-12-13 11:07:01 +01:00
More type checks
This commit is contained in:
@@ -29,7 +29,7 @@ class TwoPlayerTrueSkillCalculator extends SkillCalculator
|
||||
|
||||
public function calculateNewRatings(GameInfo $gameInfo,
|
||||
array $teams,
|
||||
array $teamRanks)
|
||||
array $teamRanks): RatingContainer
|
||||
{
|
||||
// Basic argument checking
|
||||
Guard::argumentNotNull($gameInfo, 'gameInfo');
|
||||
|
||||
Reference in New Issue
Block a user