Skip to content

Commit 116cfd7

Browse files
BackEndTeaderrabus
andauthored
Make checkType method private
Co-authored-by: Alexander M. Turek <me@derrabus.de>
1 parent cbbdfae commit 116cfd7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Ctype/Ctype.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,8 @@ private static function convert_int_to_char_for_ctype($int)
238238

239239
/**
240240
* @param mixed $input
241-
* @param string $function
242241
*/
243-
public static function checkType($input, $function)
242+
private static function checkType($input, string $function): void
244243
{
245244
if (\PHP_VERSION_ID >= 80100 && !\is_string($input)) {
246245
@trigger_error($function.'(): Argument of type '.get_debug_type($input).' will be interpreted as string in the future', \E_USER_DEPRECATED);

0 commit comments

Comments
 (0)