mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
More type work
This commit is contained in:
@ -14,7 +14,7 @@ class RankSorter
|
||||
* @param array $teamRanks The ranks for each item where 1 is first place.
|
||||
* @return array
|
||||
*/
|
||||
public static function sort(array &$teams, array &$teamRanks)
|
||||
public static function sort(array &$teams, array &$teamRanks): array
|
||||
{
|
||||
array_multisort($teamRanks, $teams);
|
||||
|
||||
|
Reference in New Issue
Block a user