From af585dc6e9c6045ecae151bc0cb338900f9c3529 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Mon, 3 Jun 2019 12:22:25 +0200 Subject: [PATCH] Updated a.1 Showing a ranking (markdown) --- a.1-Showing-a-ranking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a.1-Showing-a-ranking.md b/a.1-Showing-a-ranking.md index 88bfeeb..a5a1435 100644 --- a/a.1-Showing-a-ranking.md +++ b/a.1-Showing-a-ranking.md @@ -17,6 +17,6 @@ $filereader->read('mycompetition.sws'); $ranking = $filereader->getTournament()->getRanking(); $count = 1; foreach($ranking as $player) { - echo $count . ' ' . $player->getName() . '(' . $player.->getPoints() . ')'; + echo $count . ' ' . $player->getName() . '(' . $player.->getTiebreaks()[0] . ')'; $count++; } \ No newline at end of file