Renamed GameExists to gameExists

Normalization
This commit is contained in:
Jeroen De Meerleer 2019-06-20 14:41:46 +02:00
parent ab6afa89ce
commit 50a97ad572
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -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) {