Skip to content

Commit

Permalink
Update RolePermissionTrait.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbmaulana authored Nov 28, 2023
1 parent 71d0ffe commit 559abe0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Traits/RolePermissionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@
trait RolePermissionTrait
{
use HasRoles;

/**
* @return string
*/
protected function getDefaultGuardName(): string
{
return (string) null;
}
};

0 comments on commit 559abe0

Please sign in to comment.