We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6550f9 commit 18c81eaCopy full SHA for 18c81ea
src/Traits/HasPermissions.php
@@ -81,7 +81,7 @@ public function hasPermissions(array $keys): bool
81
return true;
82
}
83
84
- public function isAdmin(): bool
+ public function hasAdminPermission(): bool
85
{
86
//Checks if user has rank admin (Will be ignored if rank does not exist)
87
if($this->rank == 'admin'){
0 commit comments