protected function processParts(array $parts)
    {
        return array_values(array_filter($parts, function ($part) {
            if (empty($part) || $part instanceof CommentPart) {
                return false;
            }
            return true;
        }));
    }
protected function processParts(array $parts)
    {
        return array_values(array_filter($parts, function ($part) {
            if (empty($part) || $part instanceof CommentPart) {
                return false;
            }
            return true;
        }));
    }
protected function processParts ( array $ parts ) { return array_values ( array_filter ( $ parts , function ( $ part ) { if ( empty ( $ part ) || $ part instanceof CommentPart ) { return false ; } return true ; } ) ) ; }
Overridden to filter out any found CommentPart objects.

@param \ZBateson\MailMimeParser\Header\Part\HeaderPart[] $parts
@return \ZBateson\MailMimeParser\Header\Part\HeaderPart[]
Overridden to filter out any found CommentPart objects .