i working whith entrust package in laravel for management roles and permissions.
$role->deattachPermission($permission);
its not work.
Couple of options:
$role->perms()->sync([]);
Or
$role->perms()->detach($permission)