From 7f0c7c9350e1ed7a719045ad4e920c5de1f78f97 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Thu, 25 Apr 2019 15:39:27 +0200 Subject: [PATCH] Updated code style --- src/Models/Game.php | 4 ---- src/Models/Player.php | 2 -- src/Models/Round.php | 1 - src/Round.php | 1 - tests/ReadSws_test.php | 1 - 5 files changed, 9 deletions(-) diff --git a/src/Models/Game.php b/src/Models/Game.php index ab631e1..0a2c193 100644 --- a/src/Models/Game.php +++ b/src/Models/Game.php @@ -69,8 +69,4 @@ class Game { $this->result = $result; } - - - - } diff --git a/src/Models/Player.php b/src/Models/Player.php index 2740a28..69aff4d 100644 --- a/src/Models/Player.php +++ b/src/Models/Player.php @@ -379,6 +379,4 @@ class Player { $this->Pairings = $Pairings; } - - } diff --git a/src/Models/Round.php b/src/Models/Round.php index 384fe17..8cc7b54 100644 --- a/src/Models/Round.php +++ b/src/Models/Round.php @@ -69,5 +69,4 @@ class Round { $this->roundNo = $roundNo; } - } diff --git a/src/Round.php b/src/Round.php index 5c35ccd..f897394 100644 --- a/src/Round.php +++ b/src/Round.php @@ -22,6 +22,5 @@ class Round extends RoundModel $newarray = $this->getGames(); $newarray[] = $game; $this->setGames($newarray); - } } diff --git a/tests/ReadSws_test.php b/tests/ReadSws_test.php index 5d56f3b..8feffff 100644 --- a/tests/ReadSws_test.php +++ b/tests/ReadSws_test.php @@ -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 2: " . $sws->getTournament()->getPairings()[1]->getPlayer()->getName() . PHP_EOL; echo "Player Pairing 3: " . $sws->getTournament()->getPairings()[2]->getPlayer()->getName() . PHP_EOL; -