Code Duplication    Length = 1-1 lines in 2 locations

classes/Email/Envelope.php 2 locations

@@ 144-144 (lines=1) @@
141
      $head[] = "Subject: {$this->subject}";
142
      if($this->from)                        $head[] = "From: {$this->from}";
143
      if(is_array($this->to)  && !empty($this->to))  $head[] = "To: "  . implode(', ',$this->to);
144
      if(is_array($this->cc)  && !empty($this->cc))  $head[] = "Cc: "  . implode(', ',$this->cc);
145
      if(is_array($this->bcc) && !empty($this->bcc)) $head[] = "Bcc: " . implode(', ',$this->bcc);
146
      if($this->replyTo)                     $head[] = "Reply-To: {$this->replyTo}";
147
      $head[] = "Content-Type: multipart/mixed; boundary=\"{$this->uid}\"";
@@ 145-145 (lines=1) @@
142
      if($this->from)                        $head[] = "From: {$this->from}";
143
      if(is_array($this->to)  && !empty($this->to))  $head[] = "To: "  . implode(', ',$this->to);
144
      if(is_array($this->cc)  && !empty($this->cc))  $head[] = "Cc: "  . implode(', ',$this->cc);
145
      if(is_array($this->bcc) && !empty($this->bcc)) $head[] = "Bcc: " . implode(', ',$this->bcc);
146
      if($this->replyTo)                     $head[] = "Reply-To: {$this->replyTo}";
147
      $head[] = "Content-Type: multipart/mixed; boundary=\"{$this->uid}\"";
148
      $head[] = 'MIME-Version: 1.0';