mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-21 22:17:41 +01:00
Code style fixups
This commit is contained in:
parent
2eb570ce7c
commit
5314bc47f2
@ -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
|
||||
*
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user