Permalink
Browse files

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
  • Loading branch information...
wouterj committed Jan 31, 2015
2 parents eb86338 + 17c9cf9 commit 5a53e8731deeeb6b92efb70725f6d2def211e0db
Showing with 6 additions and 6 deletions.
  1. +6 −6 components/options_resolver.rst
@@ -134,8 +134,8 @@ is thrown if an unknown option is passed::
'usernme' => 'johndoe',
));
// UndefinedOptionsException: The option "usernme" does not exist. Known
// options are: "host", "password", "port", "username"
// UndefinedOptionsException: The option "usernme" does not exist.
// Known options are: "host", "password", "port", "username"
The rest of your code can access the values of the options without boilerplate
code::
@@ -354,8 +354,8 @@ is thrown::
'host' => 25,
));
// InvalidOptionsException: The option "host" with value "25" is expected to
// be of type "string"
// InvalidOptionsException: The option "host" with value "25" is
// expected to be of type "string"
In sub-classes, you can use :method:`Symfony\\Component\\OptionsResolver\\OptionsResolver::addAllowedTypes`
to add additional allowed types without erasing the ones already set.
@@ -395,8 +395,8 @@ is thrown::
'transport' => 'send-mail',
));
// InvalidOptionsException: The option "transport" has the value "send-mail",
// but is expected to be one of "sendmail", "mail", "smtp"
// InvalidOptionsException: The option "transport" has the value
// "send-mail", but is expected to be one of "sendmail", "mail", "smtp"
For options with more complicated validation schemes, pass a closure which
returns ``true`` for acceptable values and ``false`` for invalid values::

0 comments on commit 5a53e87

Please sign in to comment.