fix return mail method setTo

This commit is contained in:
rsgrinko committed 2022-08-15 14:58:30 +03:00
1 parent 59d398b6ef
commit 015b977190
1 file changed
+4 -1
+4 -1
View File
@@ -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;
} }
/** /**