Skip to content

Commit

Permalink
Typehint BackedEnum (#2494)
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell committed Sep 5, 2023
1 parent f50e7cc commit 3cafa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/HasRoles.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3cafa8d

Please sign in to comment.