Skip to content

Commit 18c81ea

Browse files
committed
Renamed isAdmin() to hasAdminPermission()
1 parent d6550f9 commit 18c81ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/HasPermissions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function hasPermissions(array $keys): bool
8181
return true;
8282
}
8383

84-
public function isAdmin(): bool
84+
public function hasAdminPermission(): bool
8585
{
8686
//Checks if user has rank admin (Will be ignored if rank does not exist)
8787
if($this->rank == 'admin'){

0 commit comments

Comments
 (0)