src/Policies/TeamPolicy.php
public function destroy(UserPolicy $user, Team $team)
    {
        return $team->user_id == user_id() && $team->user_type == user_type();
    }
public function destroy(UserPolicy $user, Team $team)
    {
        return $team->user_id == user_id() && $team->user_type == user_type();
    }
public function destroy ( UserPolicy $ user , Team $ team ) { return $ team -> user_id == user_id ( ) && $ team -> user_type == user_type ( ) ; }
Determine if the given user can delete the given team.

@param UserPolicy $user
@param Team $team

@return bool
Determine if the given user can delete the given team .