8000 fix expected argument type docblock · symfony/symfony@1c01ebc · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c01ebc

Browse files
committed
fix expected argument type docblock
1 parent 87c08d5 commit 1c01ebc

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
< 8000 tr class="diff-line-row">
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