original_string: protected function parseAddress(array $addresses)
      {
          return array_map(function ($address) {
              return (object) [
                  'address' => $address->mailbox.'@'.$address->host,
                  'domain' => $address->host,
                  'name' => isset($address->personal)
                      ? static::convertBodyEncoding($address->personal)
                      : null
              ];
          }, array_filter($addresses, function ($address) {
              return property_exists($address, 'mailbox') && strtolower($address->mailbox) !== 'undisclosed-recipients';
          }));
      }
code: protected function parseAddress(array $addresses)
      {
          return array_map(function ($address) {
              return (object) [
                  'address' => $address->mailbox.'@'.$address->host,
                  'domain' => $address->host,
                  'name' => isset($address->personal)
                      ? static::convertBodyEncoding($address->personal)
                      : null
              ];
          }, array_filter($addresses, function ($address) {
              return property_exists($address, 'mailbox') && strtolower($address->mailbox) !== 'undisclosed-recipients';
          }));
      }
code_tokens: protected function parseAddress ( array $ addresses ) { return array_map ( function ( $ address ) { return ( object ) [ 'address' => $ address -> mailbox . '@' . $ address -> host , 'domain' => $ address -> host , 'name' => isset ( $ address -> personal ) ? static :: convertBodyEncoding ( $ address -> personal ) : null ] ; } , array_filter ( $ addresses , function ( $ address ) { return property_exists ( $ address , 'mailbox' ) && strtolower ( $ address -> mailbox ) !== 'undisclosed-recipients' ; } ) ) ; }
docstring: Parse email addresses from header
  
  @param  array $addresses
  @return array
docstring_tokens: Parse email addresses from header