More types.

This commit is contained in:
2023-08-03 10:09:24 +00:00
parent 75829ddd60
commit f0f4a0c2d6
7 changed files with 34 additions and 5 deletions

View File

@ -11,7 +11,7 @@ class RankSorter
* Performs an in-place sort of the items in according to the ranks in non-decreasing order.
*
* @param array<mixed> $teams The items to sort according to the order specified by ranks.
* @param array<int> $teamRanks The ranks for each item where 1 is first place.
* @param array<int> $teamRanks The ranks for each item where 1 is first place.
* @return array<array>
*/
public static function sort(array &$teams, array &$teamRanks): array