mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-24 15:31:00 +01:00
fixed little mistake
This commit is contained in:
parent
e7e5a9406b
commit
c9d5407f0c
@ -62,7 +62,7 @@ class Tournament extends TournamentModel
|
||||
foreach ($players as $player) {
|
||||
$rankingsArray[$player->getPoints()] = $player;
|
||||
}
|
||||
$rankingsArray = ksort($finalArray);
|
||||
ksort($rankingsArray);
|
||||
|
||||
$finalArray = array();
|
||||
$i = 0;
|
||||
@ -71,6 +71,6 @@ class Tournament extends TournamentModel
|
||||
$i++;
|
||||
}
|
||||
|
||||
return $finalArray();
|
||||
return $finalArray;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user