Skip to content

Commit 0ee3a0e

Browse files
committed
Fixed the name of some methods
1 parent 1444b13 commit 0ee3a0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/mime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ some utility methods for Twig templates::
308308

309309
$email = (new TemplatedEmail())
310310
->from('fabien@symfony.com')
311-
->fo('foo@example.com')
311+
->to('foo@example.com')
312312
// ...
313313

314314
// this method defines the path of the Twig template to render
@@ -373,7 +373,7 @@ the ``TemplatedEmail`` class::
373373

374374
$email = (new TemplatedEmail())
375375
->from('fabien@symfony.com')
376-
->fo('foo@example.com')
376+
->to('foo@example.com')
377377
// ...
378378

379379
->textTemplate('messages/user/signup.txt.twig')

0 commit comments

Comments
 (0)