mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-12-01 18:51:32 +01:00
Updated code style
This commit is contained in:
parent
8b2b31377e
commit
a9325a3c07
@ -69,8 +69,4 @@ class Game
|
|||||||
{
|
{
|
||||||
$this->result = $result;
|
$this->result = $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -379,6 +379,4 @@ class Player
|
|||||||
{
|
{
|
||||||
$this->Pairings = $Pairings;
|
$this->Pairings = $Pairings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -69,5 +69,4 @@ class Round
|
|||||||
{
|
{
|
||||||
$this->roundNo = $roundNo;
|
$this->roundNo = $roundNo;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,5 @@ class Round extends RoundModel
|
|||||||
$newarray = $this->getGames();
|
$newarray = $this->getGames();
|
||||||
$newarray[] = $game;
|
$newarray[] = $game;
|
||||||
$this->setGames($newarray);
|
$this->setGames($newarray);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user