Skip to content

Commit 7874bd0

Browse files
committed
minor #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

components/http_foundation/introduction.rst

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy