We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbbdfae commit 116cfd7Copy full SHA for 116cfd7
src/Ctype/Ctype.php
@@ -238,9 +238,8 @@ private static function convert_int_to_char_for_ctype($int)
238
239
/**
240
* @param mixed $input
241
- * @param string $function
242
*/
243
- public static function checkType($input, $function)
+ private static function checkType($input, string $function): void
244
{
245
if (\PHP_VERSION_ID >= 80100 && !\is_string($input)) {
246
@trigger_error($function.'(): Argument of type '.get_debug_type($input).' will be interpreted as string in the future', \E_USER_DEPRECATED);
0 commit comments