Kaynağa Gözat

merged branch hhamon/http_foundation_phpdoc (PR #3982)

Commits
-------

b19468e [HttpFoundation] changed return type from int to integer in ParameterBag::getInt() method.
9cd0b03 [HttpFoundation] fixed phpdoc in ParameterBag::getInt() method.

Discussion
----------

[HttpFoundation] phpdoc fix in ParameterBag class

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
Fabien Potencier 13 yıl önce
ebeveyn
işleme
660fb46d56

+ 1 - 1
src/Symfony/Component/HttpFoundation/ParameterBag.php

@@ -234,7 +234,7 @@ class ParameterBag
      * @param mixed   $default The default value if the parameter key does not exist
      * @param boolean $deep If true, a path like foo[bar] will find deeper items
      *
-     * @return string The filtered value
+     * @return integer The filtered value
      *
      * @api
      */