mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-22 06:26:57 +01:00
Updated code style
This commit is contained in:
parent
34de4023ce
commit
7f0c7c9350
@ -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