From 911c9615fd49e17b685a76b6b5dc8fd5acd3288a Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Fri, 1 Feb 2019 15:51:35 +0100 Subject: [PATCH] Enums in enum namespace --- src/Enums/Sex.php | 2 +- src/Enums/Title.php | 2 +- src/Models/Player.php | 3 ++- src/Sws.php | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Enums/Sex.php b/src/Enums/Sex.php index efff481..e4f612d 100644 --- a/src/Enums/Sex.php +++ b/src/Enums/Sex.php @@ -6,7 +6,7 @@ * Time: 15:56 */ -namespace JeroenED\Libpairtwo\Models; +namespace JeroenED\Libpairtwo\Enums; use MyCLabs\Enum\Enum; diff --git a/src/Enums/Title.php b/src/Enums/Title.php index a9cf023..086fdf5 100644 --- a/src/Enums/Title.php +++ b/src/Enums/Title.php @@ -6,7 +6,7 @@ * Time: 17:10 */ -namespace JeroenED\Libpairtwo\Models; +namespace JeroenED\Libpairtwo\Enums; use MyCLabs\Enum\Enum; diff --git a/src/Models/Player.php b/src/Models/Player.php index 8fa6dbb..82e692d 100644 --- a/src/Models/Player.php +++ b/src/Models/Player.php @@ -7,7 +7,8 @@ */ namespace JeroenED\Libpairtwo\Models; - +use JeroenED\Libpairtwo\Enums\Title; +use JeroenED\Libpairtwo\Enums\Sex; use DateTime; diff --git a/src/Sws.php b/src/Sws.php index a7a3745..bde4b1a 100644 --- a/src/Sws.php +++ b/src/Sws.php @@ -26,8 +26,8 @@ namespace JeroenED\Libpairtwo; -use JeroenED\Libpairtwo\Models\Tournament; -use JeroenED\Libpairtwo\Models\Sws as MyModel; +use JeroenED\Libpairtwo\Enums\Title; +use JeroenED\Libpairtwo\Enums\Sex; use JeroenED\Libpairtwo\Enums\TournamentSystem; /**