Skip to content

Commit

Permalink
Undo backwards-incompatible change
Browse files Browse the repository at this point in the history
  • Loading branch information
zbateson committed Sep 30, 2018
1 parent 8d5e605 commit 2a5c204
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Header/AddressHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,6 @@ public function hasAddress($email)
return false;
}

/**
* Overridden to return the first email address in the header.
*
* @return string
*/
public function getValue()
{
if (!empty($this->addresses)) {
return $this->addresses[0]->getEmail();
}
return null;
}

/**
* Same as getValue, but for clarity to match AddressPart.
*
Expand Down

0 comments on commit 2a5c204

Please sign in to comment.