mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-25 15:57:41 +01:00
Renamed GameExists to gameExists
Normalization
This commit is contained in:
parent
ab6afa89ce
commit
50a97ad572
@ -237,7 +237,7 @@ class Tournament
|
|||||||
$cache[] = $pairing;
|
$cache[] = $pairing;
|
||||||
} else {
|
} else {
|
||||||
// Check if game already exists
|
// Check if game already exists
|
||||||
if (!$this->GameExists($game, $round)) {
|
if (!$this->gameExists($game, $round)) {
|
||||||
$this->AddGame($game, $round);
|
$this->AddGame($game, $round);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -252,7 +252,7 @@ class Tournament
|
|||||||
* @param int $round
|
* @param int $round
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function GameExists(Game $game, int $round = -1): bool
|
public function gameExists(Game $game, int $round = -1): bool
|
||||||
{
|
{
|
||||||
$search = [ $round ];
|
$search = [ $round ];
|
||||||
if ($round == -1) {
|
if ($round == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user