Code Duplication    Length = 1-1 lines in 2 locations

classes/Email/Envelope.php 2 locations

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