Skip to content

Commit d65b6e0

Browse files
committed
Minor tweaks
1 parent 46632c9 commit d65b6e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/options_resolver.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ options are buried in the business logic of your code. Use the
8585
}
8686
}
8787

88-
Now all four options are guaranteed to be set. Consider the user of the
89-
``Mailer`` class makes a mistake::
88+
Now all four options are guaranteed to be set, but you could still make an error
89+
like the following when using the ``Mailer`` class::
9090

9191
$mailer = new Mailer([
92-
'usernme' => 'johndoe', // usernme misspelled (instead of username)
92+
'usernme' => 'johndoe', // 'username' is wrongly spelled as 'usernme'
9393
]);
9494

9595
No error will be shown. In the best case, the bug will appear during testing,

0 commit comments

Comments
 (0)