Updated code style

This commit is contained in:
Jeroen De Meerleer 2019-04-25 15:39:27 +02:00
parent 34de4023ce
commit 7f0c7c9350
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
5 changed files with 0 additions and 9 deletions

View File

@ -69,8 +69,4 @@ class Game
{ {
$this->result = $result; $this->result = $result;
} }
} }

View File

@ -379,6 +379,4 @@ class Player
{ {
$this->Pairings = $Pairings; $this->Pairings = $Pairings;
} }
} }

View File

@ -69,5 +69,4 @@ class Round
{ {
$this->roundNo = $roundNo; $this->roundNo = $roundNo;
} }
} }

View File

@ -22,6 +22,5 @@ class Round extends RoundModel
$newarray = $this->getGames(); $newarray = $this->getGames();
$newarray[] = $game; $newarray[] = $game;
$this->setGames($newarray); $this->setGames($newarray);
} }
} }

View File

@ -68,4 +68,3 @@ echo "Color Pairing 3: " . $sws->getTournament()->getPairings()[3]->getColor()->
echo "Player Pairing 1: " . $sws->getTournament()->getPairings()[0]->getPlayer()->getName() . PHP_EOL; echo "Player Pairing 1: " . $sws->getTournament()->getPairings()[0]->getPlayer()->getName() . PHP_EOL;
echo "Player Pairing 2: " . $sws->getTournament()->getPairings()[1]->getPlayer()->getName() . PHP_EOL; echo "Player Pairing 2: " . $sws->getTournament()->getPairings()[1]->getPlayer()->getName() . PHP_EOL;
echo "Player Pairing 3: " . $sws->getTournament()->getPairings()[2]->getPlayer()->getName() . PHP_EOL; echo "Player Pairing 3: " . $sws->getTournament()->getPairings()[2]->getPlayer()->getName() . PHP_EOL;