Fixed typo deleting RolePolicy: Role to role.

This commit is contained in:
Leonid Nikitin 2023-08-01 22:07:47 +06:00
parent 52c6fd88d7
commit 73d99a0432
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

View File

@ -29,6 +29,6 @@ final readonly class RolePolicy extends Policy
public function delete(User $user, Role $role): bool public function delete(User $user, Role $role): bool
{ {
return $user->hasPermission('Role.delete'); return $user->hasPermission('role.delete');
} }
} }