From 3cafa8dabf4a13cc9d6b0c8a9e636fc7c2642ea4 Mon Sep 17 00:00:00 2001 From: Erin Dalzell Date: Mon, 4 Sep 2023 21:00:30 -0400 Subject: [PATCH] Typehint BackedEnum (#2494) --- src/Traits/HasRoles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/HasRoles.php b/src/Traits/HasRoles.php index 829afde2..3737b557 100644 --- a/src/Traits/HasRoles.php +++ b/src/Traits/HasRoles.php @@ -163,7 +163,7 @@ private function collectRoles(...$roles): array /** * Assign the given role to the model. * - * @param array|string|int|Role|Collection ...$roles + * @param array|string|int|Role|Collection|\BackedEnum ...$roles * @return $this */ public function assignRole(...$roles)