From 8c6e3b81fa6d1133798d4afe52c61ba5a74ad4f1 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Mon, 11 Feb 2019 17:37:30 +0100 Subject: [PATCH] Fixed code style --- src/Enums/Color.php | 2 +- src/Enums/Sex.php | 3 +-- src/Enums/Title.php | 3 +-- src/Game.php | 3 +-- src/Models/Game.php | 4 +--- src/Models/Pairing.php | 2 -- src/Models/Player.php | 1 + src/Models/Tournament.php | 5 +---- src/Pairing.php | 3 +-- src/Player.php | 5 ++--- src/Round.php | 3 +-- 11 files changed, 11 insertions(+), 23 deletions(-) diff --git a/src/Enums/Color.php b/src/Enums/Color.php index 16353c3..8504dce 100644 --- a/src/Enums/Color.php +++ b/src/Enums/Color.php @@ -17,4 +17,4 @@ class Color extends Enum const white = 1; const white3 = 3; const none = 0; -} \ No newline at end of file +} diff --git a/src/Enums/Sex.php b/src/Enums/Sex.php index e4f612d..1864021 100644 --- a/src/Enums/Sex.php +++ b/src/Enums/Sex.php @@ -8,7 +8,6 @@ namespace JeroenED\Libpairtwo\Enums; - use MyCLabs\Enum\Enum; class Sex extends Enum @@ -16,4 +15,4 @@ class Sex extends Enum const Neutral = 0; // Unforturnately, Incompatible with Pairtwo (Dinos) const Male = 1; const Female = 2; -} \ No newline at end of file +} diff --git a/src/Enums/Title.php b/src/Enums/Title.php index 086fdf5..17bd96f 100644 --- a/src/Enums/Title.php +++ b/src/Enums/Title.php @@ -25,5 +25,4 @@ class Title extends Enum const IM = 10; // International Master const HG = 11; // Honorary Grand Master const GM = 12; // Grand Master - -} \ No newline at end of file +} diff --git a/src/Game.php b/src/Game.php index 5aef00c..f7ac565 100644 --- a/src/Game.php +++ b/src/Game.php @@ -12,5 +12,4 @@ use JeroenED\Libpairtwo\Models\Game as GameModel; class Game extends GameModel { - -} \ No newline at end of file +} diff --git a/src/Models/Game.php b/src/Models/Game.php index e14262c..92cf4bf 100644 --- a/src/Models/Game.php +++ b/src/Models/Game.php @@ -8,8 +8,6 @@ namespace JeroenED\Libpairtwo\Models; - class Game { - -} \ No newline at end of file +} diff --git a/src/Models/Pairing.php b/src/Models/Pairing.php index 3c93803..e592d60 100644 --- a/src/Models/Pairing.php +++ b/src/Models/Pairing.php @@ -99,6 +99,4 @@ class Pairing { $this->Round = $Round; } - - } diff --git a/src/Models/Player.php b/src/Models/Player.php index 7365063..1499b1f 100644 --- a/src/Models/Player.php +++ b/src/Models/Player.php @@ -7,6 +7,7 @@ */ namespace JeroenED\Libpairtwo\Models; + use JeroenED\Libpairtwo\Enums\Title; use JeroenED\Libpairtwo\Enums\Sex; use DateTime; diff --git a/src/Models/Tournament.php b/src/Models/Tournament.php index 80c442f..3652475 100644 --- a/src/Models/Tournament.php +++ b/src/Models/Tournament.php @@ -25,10 +25,10 @@ */ namespace JeroenED\Libpairtwo\Models; + use JeroenED\Libpairtwo\Enums\TournamentSystem; use DateTime; - /** * Description of Sws * @@ -393,7 +393,4 @@ class Tournament { $this->Pairings = $Pairings; } - - - } diff --git a/src/Pairing.php b/src/Pairing.php index 770a958..48e3b91 100644 --- a/src/Pairing.php +++ b/src/Pairing.php @@ -12,5 +12,4 @@ use JeroenED\Libpairtwo\Models\Pairing as PairingModel; class Pairing extends PairingModel { - -} \ No newline at end of file +} diff --git a/src/Player.php b/src/Player.php index a1a2cbd..9a58878 100644 --- a/src/Player.php +++ b/src/Player.php @@ -10,7 +10,6 @@ namespace JeroenED\LibPairtwo; use JeroenED\Libpairtwo\Models\Player as PlayerModel; -class Player Extends PlayerModel +class Player extends PlayerModel { - -} \ No newline at end of file +} diff --git a/src/Round.php b/src/Round.php index 5a721d8..abfdcb4 100644 --- a/src/Round.php +++ b/src/Round.php @@ -12,5 +12,4 @@ use JeroenED\Libpairtwo\Models\Round as RoundModel; class Round extends RoundModel { - -} \ No newline at end of file +}