[HttpFoundation] Improve phpdoc

Improve the phpdoc for the `$default` parameter of the `get()` method. It wasn't clear when the default value would be used (whether the key would not exist or the value was `null` or nullish).

The comment is now in sync with `Symfony\Component\HttpFoundation\ParameterBag::get()`.
This commit is contained in:
Matthieu Napoli 2016-04-05 11:24:23 +02:00 committed by Nicolas Grekas
parent 511e41a897
commit 6bfbb2e25f
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ class Request
* public property instead (query, attributes, request).
*
* @param string $key the key
* @param mixed $default the default value
* @param mixed $default the default value if the parameter key does not exist
* @param bool $deep is parameter deep in multidimensional array
*
* @return mixed