1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Add missing false return value to the stub

This commit is contained in:
ralila 2021-11-14 10:36:03 +01:00
parent 09933db94a
commit 930ee578f1

View File

@ -1305,6 +1305,6 @@ 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)
* @return (T is array<int, string> ? array<int, string> : T is array ? array : string|false)
*/
function mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false{}