Skip to content

Commit 9bde1c9

Browse files
Update mailer.rst
1 parent 84980e7 commit 9bde1c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mailer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ Multiple addresses can be set with ``addTo()``, ``addCc()``, or ``addBcc()``::
174174
// ...
175175
;
176176

177-
Alternatively, you can pass multiple addresses or an array to each method::
177+
Alternatively, you can pass multiple addresses to each method::
178178

179179
$toAddresses = ['[email protected]', new Address('[email protected]')];
180180

181181
$email = (new Email())
182-
->to(...$toAddresses)
182+
->to(...$toAddresses) // use the splat operator if you have an array
183183
184184

185185
// ...

0 commit comments

Comments
 (0)