Explorar o código

[HttpFoundation] changed return type from int to integer in ParameterBag::getInt() method.

Hugo Hamon %!s(int64=13) %!d(string=hai) anos
pai
achega
b19468e15b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Component/HttpFoundation/ParameterBag.php

+ 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 int The filtered value
+     * @return integer The filtered value
      *
      * @api
      */