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

Commit

Permalink
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Part.php
Expand Up @@ -124,9 +124,8 @@ public function getContent($EOL = Mime::LINEEND)
{
if ($this->isStream) {
return stream_get_contents($this->getEncodedStream());
} else {
return Mime::encode($this->content, $this->encoding, $EOL);
}
return Mime::encode($this->content, $this->encoding, $EOL);
}

/**
Expand All @@ -137,9 +136,8 @@ public function getRawContent()
{
if ($this->isStream) {
return stream_get_contents($this->content);
} else {
return $this->content;
}
return $this->content;
}

/**
Expand Down

0 comments on commit 3a37ce6

Please sign in to comment.