Check for guard if id of permission sent to hasPermissionTo method.
Check for guard if id of permission sent to hasPermissionTo method.

drbyte/laravel-permission,spatie/laravel-permission,drbyte/laravel-permission