Skip to content

Commit 7874bd0

Browse files
committed
minor symfony#6286 [HttpFoundation] Fix typo for ParameterBag getters - 3.0 (rendler-denis)
This PR was merged into the 3.0 branch. Discussion ---------- [HttpFoundation] Fix typo for ParameterBag getters - 3.0 [HttpFoundation] Fix typo for max number of arguments for ParameterBag getters for the 3.0 branch | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 3.0 | Fixed tickets | ~ Commits ------- c440050 [HttpFoundation] Fix typo for ParameterBag getters
2 parents fb4c526 + c440050 commit 7874bd0

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)