Skip to content

Commit

Permalink
Merge branch 'master' of github.com:codedor/filament-mail-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
AngryMoustache committed Jun 29, 2023
2 parents b2455d2 + bf5cedc commit d02a98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mail/MailableTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(
public function envelope(): Envelope
{
// Add the to, cc, and bcc addresses, but only add to if it's not empty
foreach(['to', 'cc', 'bcc'] as $type) {
foreach (['to', 'cc', 'bcc'] as $type) {
if ($type !== 'to' || $this->to === []) {
$this->{$type}($this->template->getEmailsFor($type));
}
Expand Down

0 comments on commit d02a98e

Please sign in to comment.