fix boolean field
This commit is contained in:
@@ -91,9 +91,9 @@ class EMail implements IEmail
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getMessage(bool $text = false)
|
||||
public function getMessage(bool $plain = false)
|
||||
{
|
||||
if ($text) {
|
||||
if ($plain) {
|
||||
return $this->msgText;
|
||||
} else {
|
||||
return $this->msgHtml;
|
||||
|
||||
@@ -56,11 +56,11 @@ interface IEmail
|
||||
/**
|
||||
* Gets the message body of this email (either html or plaintext)
|
||||
*
|
||||
* @param boolean $text True, if returned as plaintext
|
||||
* @param boolean $plain True, if returned as plaintext
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function getMessage(bool $text = false);
|
||||
function getMessage(bool $plain = false);
|
||||
|
||||
/**
|
||||
* Gets any additional mail header
|
||||
|
||||
Reference in New Issue
Block a user