8000 Remove horizontal scrollbar · symfony/symfony-docs@17c9cf9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 17c9cf9

Browse files
committed
Remove horizontal scrollbar
| Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6 | Fixed tickets |
1 parent eb86338 commit 17c9cf9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/options_resolver.rst

Lines changed: 6 additions & 6 deletions
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)
0