diff --git a/components/options_resolver.rst b/components/options_resolver.rst index 5f302cec4d2..524cc22f351 100644 --- a/components/options_resolver.rst +++ b/components/options_resolver.rst @@ -85,10 +85,8 @@ options are buried in the business logic of your code. Use the } } -Now all four options are guaranteed to be set. But what happens if the user of -the ``Mailer`` class makes a mistake? - -.. code-block:: php +Now all four options are guaranteed to be set. Consider the user of the +``Mailer`` class makes a mistake:: $mailer = new Mailer([ 'usernme' => 'johndoe', // usernme misspelled (instead of username)