Skip to content

Commit ed9c39e

Browse files
authored
Update exception message | options_resolver.rst
1 parent a992448 commit ed9c39e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/options_resolver.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ is thrown::
382382
'transport' => 'send-mail',
383383
]);
384384

385-
// InvalidOptionsException: The option "transport" has the value
386-
// "send-mail", but is expected to be one of "sendmail", "mail", "smtp"
385+
// InvalidOptionsException: The option "transport" with value "send-mail"
386+
// is invalid. Accepted values are: "sendmail", "mail", "smtp"
387387

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

0 commit comments

Comments
 (0)