original_string: public function add_user_preference($name, $summary = '') {
          $this->add_type(new types\user_preference($name, $summary));
  
          return $this;
      }
code: public function add_user_preference($name, $summary = '') {
          $this->add_type(new types\user_preference($name, $summary));
  
          return $this;
      }
code_tokens: public function add_user_preference ( $ name , $ summary = '' ) { $ this -> add_type ( new types \ user_preference ( $ name , $ summary ) ) ; return $ this ; }
docstring: Add a type of user preference to the collection.
  
  Typically this is a single user preference, but in some cases the
  name of a user preference fits a particular format.
  
  @param   string  $name The name of the user preference.
  @param   string  $summary A description of what the preference is used for.
  @return  $this
docstring_tokens: Add a type of user preference to the collection .