More type work

This commit is contained in:
2023-08-02 13:19:35 +00:00
parent 4f60c3d024
commit 73781e9000
13 changed files with 35 additions and 25 deletions

View File

@ -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);