Skip to content

Commit 3e5bd90

Browse files
committed
minor #12428 Update options_resolver.rst (atailouloute)
This PR was merged into the 3.4 branch. Discussion ---------- Update options_resolver.rst Commits ------- db1e76f Update options_resolver.rst
2 parents 0e9e19a + db1e76f commit 3e5bd90

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)