From fc5621b0856ca3b97f74c63a1ee887699ae60a89 Mon Sep 17 00:00:00 2001 From: stollr Date: Sat, 13 Jan 2024 18:34:09 +0100 Subject: [PATCH] Moved group type classes to separate namespace --- docs/out/GroupAPI.md | 8 ++++---- src/Models/Groups/{Group => GroupType}/GroupType.php | 2 +- .../Groups/{Group => GroupType}/GroupTypeRequest.php | 2 +- .../{Group => GroupType}/GroupTypeRequestBuilder.php | 2 +- tests/Integration/Requests/GroupTypeRequestTest.php | 2 +- tests/Unit/Docs/GroupTypeRequestTest.php | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) rename src/Models/Groups/{Group => GroupType}/GroupType.php (98%) rename src/Models/Groups/{Group => GroupType}/GroupTypeRequest.php (94%) rename src/Models/Groups/{Group => GroupType}/GroupTypeRequestBuilder.php (88%) diff --git a/docs/out/GroupAPI.md b/docs/out/GroupAPI.md index ad92b206..ddc967d1 100644 --- a/docs/out/GroupAPI.md +++ b/docs/out/GroupAPI.md @@ -517,8 +517,8 @@ ## Group-Types ```php - use CTApi\Models\Groups\Group\GroupType; - use CTApi\Models\Groups\Group\GroupTypeRequest; + use CTApi\Models\Groups\GroupType\GroupType; + use CTApi\Models\Groups\GroupType\GroupTypeRequest; $groupTypes = GroupTypeRequest::all(); @@ -534,8 +534,8 @@ ``` ```php - use CTApi\Models\Groups\Group\GroupType; - use CTApi\Models\Groups\Group\GroupTypeRequest; + use CTApi\Models\Groups\GroupType\GroupType; + use CTApi\Models\Groups\GroupType\GroupTypeRequest; $groupType = GroupTypeRequest::find(2); diff --git a/src/Models/Groups/Group/GroupType.php b/src/Models/Groups/GroupType/GroupType.php similarity index 98% rename from src/Models/Groups/Group/GroupType.php rename to src/Models/Groups/GroupType/GroupType.php index 7c2dc866..ea470942 100644 --- a/src/Models/Groups/Group/GroupType.php +++ b/src/Models/Groups/GroupType/GroupType.php @@ -1,6 +1,6 @@