Skip to content

Commit

Permalink
Merge pull request #82 from boekkooi/patch-2
Browse files Browse the repository at this point in the history
Message::getAttachments confirm to signature
  • Loading branch information
ddeboer committed Apr 29, 2015
2 parents 4a64124 + d996d4b commit db73923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public function getBodyText()
public function getAttachments()
{
if (null === $this->attachments) {
$this->attachments = array();
foreach ($this->getParts() as $part) {
if ($part instanceof Message\Attachment) {
$this->attachments[] = $part;
Expand Down

0 comments on commit db73923

Please sign in to comment.