mirror of
https://github.com/furyfire/trueskill.git
synced 2025-06-27 23:21:32 +00: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