fixed little mistake

This commit is contained in:
Jeroen De Meerleer 2019-02-06 17:43:59 +01:00
parent e7e5a9406b
commit c9d5407f0c
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -62,7 +62,7 @@ class Tournament extends TournamentModel
foreach ($players as $player) { foreach ($players as $player) {
$rankingsArray[$player->getPoints()] = $player; $rankingsArray[$player->getPoints()] = $player;
} }
$rankingsArray = ksort($finalArray); ksort($rankingsArray);
$finalArray = array(); $finalArray = array();
$i = 0; $i = 0;
@ -71,6 +71,6 @@ class Tournament extends TournamentModel
$i++; $i++;
} }
return $finalArray(); return $finalArray;
} }
} }