<
8000
tr class="diff-line-row">@@ -172,7 +172,7 @@ public function remove($key)
172
172
* Returns the alphabetic characters of the parameter value.
173
173
*
174
174
* @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
176
176
* @param bool $deep If true, a path like foo[bar] will find deeper items
177
177
*
178
178
* @return string The filtered value
@@ -186,7 +186,7 @@ public function getAlpha($key, $default = '', $deep = false)
186
186
* Returns the alphabetic characters and digits of the parameter value.
187
187
*
188
188
* @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
190
190
* @param bool $deep If true, a path like foo[bar] will find deeper items
191
191
*
192
192
* @return string The filtered value
@@ -200,7 +200,7 @@ public function getAlnum($key, $default = '', $deep = false)
200
200
* Returns the digits of the parameter value.
201
201
*
202
202
* @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
204
204
* @param bool $deep If true, a path like foo[bar] will find deeper items
205
205
*
206
206
* @return string The filtered value
@@ -215,7 +215,7 @@ public function getDigits($key, $default = '', $deep = false)
215
215
* Returns the parameter value converted to integer.
216
216
*
217
217
* @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
219
219
* @param bool $deep If true, a path like foo[bar] will find deeper items
220
220
*
221
221
* @return int The filtered value
0 commit comments