Skip to content

Commit fe8bcdb

Browse files
committed
rm useless assert
1 parent ee30e98 commit fe8bcdb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Utils/Utils.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ public static function chr(int $ord, string $encoding = 'UTF-8'): string
117117
}
118118

119119
$converted = mb_convert_encoding(self::chr($ord, 'UCS-4BE'), $encoding, 'UCS-4BE');
120-
assert(is_string($converted), 'format string is statically known to be correct');
121120

122121
return $converted;
123122
}

0 commit comments

Comments
 (0)