Browse Source

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

Hugo Hamon 13 năm trước cách đây
mục cha
commit
b19468e15b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
      */