diff --git a/src/Mail/MailableTemplate.php b/src/Mail/MailableTemplate.php index 3a962d4..b41df87 100644 --- a/src/Mail/MailableTemplate.php +++ b/src/Mail/MailableTemplate.php @@ -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)); }