Skip to content

Commit

Permalink
Remove unused method.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 24, 2019
1 parent ab24280 commit aeac7a4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Mailer/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -1200,18 +1200,6 @@ public function getBody(?string $type = null)
return $this->message;
}

/**
* Get generated message body.
*
* @param string|null $type Use MESSAGE_* constants or null to return the full message as array
* @return string|array String if type is given, array if type is null
* @internal This method is just for backwards compatibility. Use getBody() instead.
*/
public function message(?string $type = null)
{
return $this->getBody();
}

/**
* Create unique boundary identifier
*
Expand Down

0 comments on commit aeac7a4

Please sign in to comment.