From 559abe0f0caa1b167061f1949d5df6a48610051b Mon Sep 17 00:00:00 2001 From: Hasby Maulana Date: Tue, 28 Nov 2023 08:57:04 +0700 Subject: [PATCH] Update RolePermissionTrait.php --- src/Traits/RolePermissionTrait.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Traits/RolePermissionTrait.php b/src/Traits/RolePermissionTrait.php index 1d18f89..3719180 100644 --- a/src/Traits/RolePermissionTrait.php +++ b/src/Traits/RolePermissionTrait.php @@ -7,4 +7,12 @@ trait RolePermissionTrait { use HasRoles; + + /** + * @return string + */ + protected function getDefaultGuardName(): string + { + return (string) null; + } };