public function removePermissionFromRole(int $permission_id, int $role_id)
    {

        $role = $this->getRole($role_id);
        $role->permissions()->detach($permission_id);

    }
public function removePermissionFromRole(int $permission_id, int $role_id)
    {

        $role = $this->getRole($role_id);
        $role->permissions()->detach($permission_id);

    }
public function removePermissionFromRole ( int $ permission_id , int $ role_id ) { $ role = $ this -> getRole ( $ role_id ) ; $ role -> permissions ( ) -> detach ( $ permission_id ) ; }
Remove a permission from a Role.

@param int $permission_id
@param int $role_id
Remove a permission from a Role .