original_string: public function destroy(UserPolicy $user, Team $team)
      {
          return $team->user_id == user_id() && $team->user_type == user_type();
      }
code: public function destroy(UserPolicy $user, Team $team)
      {
          return $team->user_id == user_id() && $team->user_type == user_type();
      }
code_tokens: public function destroy ( UserPolicy $ user , Team $ team ) { return $ team -> user_id == user_id ( ) && $ team -> user_type == user_type ( ) ; }
docstring: Determine if the given user can delete the given team.
  
  @param UserPolicy $user
  @param Team $team
  
  @return bool
docstring_tokens: Determine if the given user can delete the given team .