Code Duplication    Length = 1-1 lines in 2 locations

system/vendor/swift/Swift/Message/Part.php 1 location

@@ 80-80 (lines=1) @@
77
  public function setCharset($charset)
78
  {
79
    $this->headers->setAttribute("Content-Type", "charset", $charset);
80
    if (($this->getEncoding() == "7bit") && (strtolower($charset) == "utf-8" || strtolower($charset) == "utf8")) $this->setEncoding("8bit");
81
  }
82
  /**
83
   * Get the charset used in the document

system/vendor/swift/Swift/Message.php 1 location

@@ 392-392 (lines=1) @@
389
  public function setCharset($charset)
390
  {
391
    $this->headers->setAttribute("Content-Type", "charset", $charset);
392
    if (($this->getEncoding() == "7bit") && (strtolower($charset) == "utf-8" || strtolower($charset) == "utf8")) $this->setEncoding("8bit");
393
  }
394
  /**
395
   * Get the charset used in the document