Skip to content

Commit

Permalink
update 'to' method its now work like '$this->addTo($email)' instead '…
Browse files Browse the repository at this point in the history
…$this->setTo($email)'
  • Loading branch information
BMTmohammedtaha committed Dec 29, 2023
1 parent 8ef31eb commit 8947579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MailSimpleTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function from(string|Address $email): self
*/
public function to(string|Address $email): self
{
return $this->setTo($email);
return $this->addTo($email);
}

/**
Expand Down

0 comments on commit 8947579

Please sign in to comment.