Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
Merge remote branch 'udat/small-fixes' into 4.1
Browse files Browse the repository at this point in the history
* udat/small-fixes:
  Removed unnecessary return statements
  Removed unused arguments
  [typo] Fixed type in Swift_FileSpool
  • Loading branch information
fabpot committed Mar 13, 2011
2 parents 87c3dcf + c8c3d81 commit ad9f90f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/classes/Swift/Mime/Headers/IdentificationHeader.php
Expand Up @@ -77,7 +77,7 @@ public function getFieldBodyModel()
*/
public function setId($id)
{
return $this->setIds(array($id));
$this->setIds(array($id));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/classes/Swift/Mime/Headers/MailboxHeader.php
Expand Up @@ -167,7 +167,7 @@ public function getNameAddresses()
*/
public function setAddresses($addresses)
{
return $this->setNameAddresses(array_values((array) $addresses));
$this->setNameAddresses(array_values((array) $addresses));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/classes/Swift/Mime/Headers/UnstructuredHeader.php
Expand Up @@ -99,7 +99,7 @@ public function getFieldBody()
{
$this->setCachedValue(
str_replace('\\', '\\\\', $this->encodeWords(
$this, $this->_value, -1, $this->getCharset(), $this->getEncoder()
$this, $this->_value
))
);
}
Expand Down

0 comments on commit ad9f90f

Please sign in to comment.