8000 minor #16373 [HttpFoundation] fix expected argument type docblock (xa… · symfony/symfony@f59286b · GitHub
[go: up one dir, main page]

Skip to content

Commit f59286b

Browse files
committed
minor #16373 [HttpFoundation] fix expected argument type docblock (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [HttpFoundation] fix expected argument type docblock | Q | A | ------------- | --- | Fixed tickets | | License | MIT Commits ------- 1c01ebc fix expected argument type docblock
2 parents eed6a68 + 1c01ebc commit f59286b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/HttpFoundation/ParameterBag.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function remove($key)
172172
* Returns the alphabetic characters of the parameter value.
173173
*
174174
* @param string $key The parameter key
175-
* @param mixed $default The default value if the parameter key does not exist
175+
* @param string $default The default value if the parameter key does not exist
176176
* @param bool $deep If true, a path like foo[bar] will find deeper items
177177
*
178178
* @return string The filtered value
@@ -186,7 +186,7 @@ public function getAlpha($key, $default = '', $deep = false)
186186
* Returns the alphabetic characters and digits of the parameter value.
187187
*
188188
* @param string $key The parameter key
189-
* @param mixed $default The default value if the parameter key does not exist
189+
* @param string $default The default value if the parameter key does not exist
190190
* @param bool $deep If true, a path like foo[bar] will find deeper items
191191
*
192192
* @return string The filtered value
@@ -200,7 +200,7 @@ public function getAlnum($key, $default = '', $deep = false)
200200
* Returns the digits of the parameter value.
201201
*
202202
* @param string $key The parameter key
203-
* @param mixed $default The default value if the parameter key does not exist
203+
* @param string $default The default value if the parameter key does not exist
204204
* @param bool $deep If true, a path like foo[bar] will find deeper items
205205
*
206206
* @return string The filtered value
@@ -215,7 +215,7 @@ public function getDigits($key, $default = '', $deep = false)
215215
* Returns the parameter value converted to integer.
216216
*
217217
* @param string $key The parameter key
218-
* @param mixed $default The default value if the parameter key does not exist
218+
* @param int $default The default value if the parameter key does not exist
219219
* @param bool $deep If true, a path like foo[bar] will find deeper items
220220
*
221221
* @return int The filtered value

0 commit comments

Comments
 (0)
0