original_string: public function addrAppend($type, $addr)
      {
          $addresses = [];
          foreach ($addr as $address) {
              $addresses[] = $this->addrFormat($address);
          }
  
          return $type . ': ' . implode(', ', $addresses) . static::$LE;
      }
code: public function addrAppend($type, $addr)
      {
          $addresses = [];
          foreach ($addr as $address) {
              $addresses[] = $this->addrFormat($address);
          }
  
          return $type . ': ' . implode(', ', $addresses) . static::$LE;
      }
code_tokens: public function addrAppend ( $ type , $ addr ) { $ addresses = [ ] ; foreach ( $ addr as $ address ) { $ addresses [ ] = $ this -> addrFormat ( $ address ) ; } return $ type . ': ' . implode ( ', ' , $ addresses ) . static :: $ LE ; }
docstring: Create recipient headers.
  
  @param string $type
  @param array  $addr An array of recipients,
  where each recipient is a 2-element indexed array with element 0 containing an address
  and element 1 containing a name, like:
  [['joe@example.com', 'Joe User'], ['zoe@example.com', 'Zoe User']]
  
  @return string
docstring_tokens: Create recipient headers .