Skip to content

Commit db1e76f

Browse files
authored
Update options_resolver.rst
1 parent a992448 commit db1e76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/options_resolver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ is thrown::
347347
]);
348348

349349
// InvalidOptionsException: The option "host" with value "25" is
350-
// expected to be of type "string"
350+
// expected to be of type "string", but is of type "int"
351351

352352
In sub-classes, you can use :method:`Symfony\\Component\\OptionsResolver\\OptionsResolver::addAllowedTypes`
353353
to add additional allowed types without erasing the ones already set.

0 commit comments

Comments
 (0)