Skip to content

Commit 5a53e87

Browse files
committed
minor #4946 Remove horizontal scrollbar (ifdattic)
This PR was merged into the 2.6 branch. Discussion ---------- Remove horizontal scrollbar | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6 | Fixed tickets | Commits ------- 17c9cf9 Remove horizontal scrollbar
2 parents eb86338 + 17c9cf9 commit 5a53e87

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: components/options_resolver.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ is thrown if an unknown option is passed::
134134
'usernme' => 'johndoe',
135135
));
136136

137-
// UndefinedOptionsException: The option "usernme" does not exist. Known
138-
// options are: "host", "password", "port", "username"
137+
// UndefinedOptionsException: The option "usernme" does not exist.
138+
// Known options are: "host", "password", "port", "username"
139139

140140
The rest of your code can access the values of the options without boilerplate
141141
code::
@@ -354,8 +354,8 @@ is thrown::
354354
'host' => 25,
355355
));
356356

357-
// InvalidOptionsException: The option "host" with value "25" is expected to
358-
// be of type "string"
357+
// InvalidOptionsException: The option "host" with value "25" is
358+
// expected to be of type "string"
359359

360360
In sub-classes, you can use :method:`Symfony\\Component\\OptionsResolver\\OptionsResolver::addAllowedTypes`
361361
to add additional allowed types without erasing the ones already set.
@@ -395,8 +395,8 @@ is thrown::
395395
'transport' => 'send-mail',
396396
));
397397

398-
// InvalidOptionsException: The option "transport" has the value "send-mail",
399-
// but is expected to be one of "sendmail", "mail", "smtp"
398+
// InvalidOptionsException: The option "transport" has the value
399+
// "send-mail", but is expected to be one of "sendmail", "mail", "smtp"
400400

401401
For options with more complicated validation schemes, pass a closure which
402402
returns ``true`` for acceptable values and ``false`` for invalid values::

0 commit comments

Comments
 (0)