1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Add stub for mb_convert_encoding

This commit is contained in:
ralila 2021-11-13 22:13:55 +01:00
parent 8dee0476da
commit af1b00f212

View File

@ -1300,4 +1300,11 @@ function get_defined_constants(bool $categorize = false): array {}
* @param class-string $class
* @return ($allow_string is false ? ($object_or_class is object ? bool : false) : bool)
*/
function is_a($object_or_class, string $class, $allow_string = false): bool{}
function is_a($object_or_class, string $class, $allow_string = false): bool{}
/**
* @template T of array|string
* @param T $string
* @return (T is array<int, string> ? array<int, string> : T is array ? array : string)
*/
function mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false{}