Code Duplication    Length = 3-3 lines in 2 locations

src/Archangel.php 2 locations

@@ 343-345 (lines=3) @@
340
            $headerString .= sprintf('%s: %s', $key, $value) . self::LINE_BREAK;
341
        }
342
343
        if (!empty($this->cc)) {
344
            $headerString .= 'CC: ' . implode(', ', $this->cc) . self::LINE_BREAK;
345
        }
346
        if (!empty($this->bcc)) {
347
            $headerString .= 'BCC: ' . implode(', ', $this->bcc) . self::LINE_BREAK;
348
        }
@@ 346-348 (lines=3) @@
343
        if (!empty($this->cc)) {
344
            $headerString .= 'CC: ' . implode(', ', $this->cc) . self::LINE_BREAK;
345
        }
346
        if (!empty($this->bcc)) {
347
            $headerString .= 'BCC: ' . implode(', ', $this->bcc) . self::LINE_BREAK;
348
        }
349
        
350
        if (!empty($this->attachments)) {
351
            $headerString .= "Content-Type: multipart/mixed; boundary=\"{$this->getBoundary()}\"";