fix return mail method setTo
This commit is contained in:
1 parent
59d398b6ef
commit
015b977190
1 file changed
+4
-1
@@ -86,11 +86,14 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Кому
|
* Кому
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setTo($email, $name = null)
|
public function setTo($email, $name = null): self
|
||||||
{
|
{
|
||||||
$this->toEmail = $email;
|
$this->toEmail = $email;
|
||||||
$this->toName = $name;
|
$this->toName = $name;
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user