Skip to content

Commit 276b0e3

Browse files
committed
minor #9386 Typo fix (scrummerlp)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #9386). Discussion ---------- Typo fix `Symfony\Component\OptionsResolver\OptionsResolver::setAllowedtypes` method doesn't exist it's `setAllowedTypes`. Commits ------- a04d8e0 Fixed small typo mistake
2 parents d2030b2 + a04d8e0 commit 276b0e3

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
@@ -326,7 +326,7 @@ correctly. To validate the types of the options, call
326326

327327
// check all items in an array recursively for a type
328328
$resolver->setAllowedTypes('dates', 'DateTime[]');
329-
$resolver->setAllowedtypes('ports', 'int[]');
329+
$resolver->setAllowedTypes('ports', 'int[]');
330330
}
331331
}
332332

0 commit comments

Comments
 (0)