From 00b8d71b8cfb4c12d793f4e40b465d2f5141b9a1 Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Fri, 29 Dec 2023 22:05:22 -0500 Subject: [PATCH] Add generic types --- app/tests/Sprunje/ActivitySprunjeTest.php | 1 + app/tests/Sprunje/GroupSprunjeTest.php | 1 + app/tests/Sprunje/PermissionSprunjeTest.php | 1 + app/tests/Sprunje/PermissionUserSprunjeTest.php | 1 + app/tests/Sprunje/RoleSprunjeTest.php | 1 + app/tests/Sprunje/UserPermissionSprunjeTest.php | 3 ++- app/tests/Sprunje/UserSprunjeTest.php | 1 + 7 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/tests/Sprunje/ActivitySprunjeTest.php b/app/tests/Sprunje/ActivitySprunjeTest.php index 5096b8f..07f29f9 100644 --- a/app/tests/Sprunje/ActivitySprunjeTest.php +++ b/app/tests/Sprunje/ActivitySprunjeTest.php @@ -25,6 +25,7 @@ class ActivitySprunjeTest extends AdminTestCase { use RefreshDatabase; + /** @var EloquentCollection */ protected EloquentCollection $users; public function setUp(): void diff --git a/app/tests/Sprunje/GroupSprunjeTest.php b/app/tests/Sprunje/GroupSprunjeTest.php index d5672cd..c93ac23 100644 --- a/app/tests/Sprunje/GroupSprunjeTest.php +++ b/app/tests/Sprunje/GroupSprunjeTest.php @@ -26,6 +26,7 @@ class GroupSprunjeTest extends AdminTestCase { use RefreshDatabase; + /** @var EloquentCollection */ protected EloquentCollection $groups; public function setUp(): void diff --git a/app/tests/Sprunje/PermissionSprunjeTest.php b/app/tests/Sprunje/PermissionSprunjeTest.php index 204749f..b986e9c 100644 --- a/app/tests/Sprunje/PermissionSprunjeTest.php +++ b/app/tests/Sprunje/PermissionSprunjeTest.php @@ -25,6 +25,7 @@ class PermissionSprunjeTest extends AdminTestCase { use RefreshDatabase; + /** @var EloquentCollection */ protected EloquentCollection $permissions; public function setUp(): void diff --git a/app/tests/Sprunje/PermissionUserSprunjeTest.php b/app/tests/Sprunje/PermissionUserSprunjeTest.php index e8062a2..81157aa 100644 --- a/app/tests/Sprunje/PermissionUserSprunjeTest.php +++ b/app/tests/Sprunje/PermissionUserSprunjeTest.php @@ -32,6 +32,7 @@ class PermissionUserSprunjeTest extends AdminTestCase { use RefreshDatabase; + /** @var EloquentCollection */ protected EloquentCollection $users; protected RoleInterface $role; protected PermissionInterface $permission; diff --git a/app/tests/Sprunje/RoleSprunjeTest.php b/app/tests/Sprunje/RoleSprunjeTest.php index 13aab45..802b372 100644 --- a/app/tests/Sprunje/RoleSprunjeTest.php +++ b/app/tests/Sprunje/RoleSprunjeTest.php @@ -25,6 +25,7 @@ class RoleSprunjeTest extends AdminTestCase { use RefreshDatabase; + /** @var EloquentCollection */ protected EloquentCollection $roles; public function setUp(): void diff --git a/app/tests/Sprunje/UserPermissionSprunjeTest.php b/app/tests/Sprunje/UserPermissionSprunjeTest.php index 76435a6..7f7625d 100644 --- a/app/tests/Sprunje/UserPermissionSprunjeTest.php +++ b/app/tests/Sprunje/UserPermissionSprunjeTest.php @@ -29,9 +29,10 @@ class UserPermissionSprunjeTest extends AdminTestCase { use RefreshDatabase; + /** @var EloquentCollection */ + protected EloquentCollection $permissions; protected UserInterface $user; protected RoleInterface $role; - protected EloquentCollection $permissions; public function setUp(): void { diff --git a/app/tests/Sprunje/UserSprunjeTest.php b/app/tests/Sprunje/UserSprunjeTest.php index 5e2bc3d..53a3009 100644 --- a/app/tests/Sprunje/UserSprunjeTest.php +++ b/app/tests/Sprunje/UserSprunjeTest.php @@ -27,6 +27,7 @@ class UserSprunjeTest extends AdminTestCase { use RefreshDatabase; + /** @var EloquentCollection */ protected EloquentCollection $users; public function setUp(): void