diff --git a/src/Round.php b/src/Round.php index 910f942..8e07278 100644 --- a/src/Round.php +++ b/src/Round.php @@ -83,7 +83,6 @@ class Round return $this; } - /** * Returns an array of pairings where the player is bye * @@ -101,7 +100,6 @@ class Round return $byePairings; } - /** * Returns an array of pairings where the player is absent * @@ -139,6 +137,7 @@ class Round $this->Date = $Date; return $this; } + /** * Returns an array of all games for the round * @@ -148,6 +147,7 @@ class Round { return $this->Games; } + /** * Sets an array of all games for the round * @@ -159,6 +159,7 @@ class Round $this->Games = $Games; return $this; } + /** * Returns the round number of the round * @@ -168,6 +169,7 @@ class Round { return $this->RoundNo; } + /** * Sets the round number of the round * @@ -179,6 +181,7 @@ class Round $this->RoundNo = $RoundNo; return $this; } + /** * Returns an array of all pairings for the round * @@ -188,6 +191,7 @@ class Round { return $this->Pairings; } + /** * Sets an array of all pairings for the round * diff --git a/src/Tournament.php b/src/Tournament.php index a9196c9..f147de8 100644 --- a/src/Tournament.php +++ b/src/Tournament.php @@ -365,7 +365,7 @@ class Tournament $tosortplayers = $sortedplayers; $sortedplayers = []; foreach ($tosortplayers as $groupkey=>$sortedplayerselem) { - usort($tosortplayers[$groupkey], $this->SortTiebreak($tbkey)); + usort($tosortplayers[$groupkey], $this->sortTiebreak($tbkey)); foreach ($tosortplayers[$groupkey] as $playerkey => $player) { if (!is_null($player->getTiebreaks()[$tbkey])) { if ($playerkey != 0) {