@@ -115,7 +115,7 @@ is thrown if an unknown option is passed::
115115 ]);
116116
117117 // UndefinedOptionsException: The option "usernme" does not exist.
118- // Known options are: "host", "password", "port", "username"
118+ // Defined options are: "host", "password", "port", "username"
119119
120120The rest of your code can access the values of the options without boilerplate
121121code::
@@ -330,7 +330,7 @@ is thrown::
330330 ]);
331331
332332 // InvalidOptionsException: The option "host" with value "25" is
333- // expected to be of type "string"
333+ // expected to be of type "string", but is of type "int"
334334
335335In sub-classes, you can use :method: `Symfony\\ Component\\ OptionsResolver\\ OptionsResolver::addAllowedTypes `
336336to add additional allowed types without erasing the ones already set.
@@ -365,8 +365,8 @@ is thrown::
365365 'transport' => 'send-mail',
366366 ]);
367367
368- // InvalidOptionsException: The option "transport" has the value
369- // "send-mail", but is expected to be one of "sendmail", "mail", "smtp"
368+ // InvalidOptionsException: The option "transport" with value "send-mail"
369+ // is invalid. Accepted values are: "sendmail", "mail", "smtp"
370370
371371For options with more complicated validation schemes, pass a closure which
372372returns ``true `` for acceptable values and ``false `` for invalid values::
0 commit comments