Skip to content

Commit c440050

Browse files
committed
[HttpFoundation] Fix typo for ParameterBag getters
[HttpFoundation] Fix typo for max number of arguments for ParameterBag getters
1 parent 4924513 commit c440050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/http_foundation/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ has some methods to filter the input values:
140140
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::filter`
141141
Filters the parameter by using the PHP :phpfunction:`filter_var` function.
142142

143-
All getters takes up to three arguments: the first one is the parameter name
143+
All getters take up to two arguments: the first one is the parameter name
144144
and the second one is the default value to return if the parameter does not
145145
exist::
146146

0 commit comments

Comments
 (0)