From c4400509d1c8a61a499a5bfcc0e6f07d5ab4e23a Mon Sep 17 00:00:00 2001 From: Denis Rendler Date: Wed, 17 Feb 2016 22:34:22 +0200 Subject: [PATCH] [HttpFoundation] Fix typo for ParameterBag getters [HttpFoundation] Fix typo for max number of arguments for ParameterBag getters --- components/http_foundation/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index 1a925d51a66..c021ffc1175 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -140,7 +140,7 @@ has some methods to filter the input values: :method:`Symfony\\Component\\HttpFoundation\\ParameterBag::filter` Filters the parameter by using the PHP :phpfunction:`filter_var` function. -All getters takes up to three arguments: the first one is the parameter name +All getters take up to two arguments: the first one is the parameter name and the second one is the default value to return if the parameter does not exist::