Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'Steffen185/patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Header/MimeVersion.php
Expand Up @@ -48,7 +48,7 @@ public static function fromString($headerLine)

// check to ensure proper header type for this factory
if (strtolower($name) !== 'mime-version') {
throw new Exception\InvalidArgumentException('Invalid header line for Mime-Version string');
throw new Exception\InvalidArgumentException('Invalid header line for MIME-Version string');
}

// Check for version, and set if found
Expand All @@ -67,7 +67,7 @@ public static function fromString($headerLine)
*/
public function getFieldName()
{
return 'Mime-Version';
return 'MIME-Version';
}

/**
Expand Down Expand Up @@ -106,7 +106,7 @@ public function getEncoding()
*/
public function toString()
{
return 'Mime-Version: ' . $this->getFieldValue();
return 'MIME-Version: ' . $this->getFieldValue();
}

/**
Expand Down

0 comments on commit 41f8caa

Please sign in to comment.