1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Add @psalm-ignore-falsable-return to the stub

This commit is contained in:
ralila 2021-11-14 10:59:24 +01:00
parent 930ee578f1
commit e5ed2e7066

View File

@ -1306,5 +1306,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|false)
* @psalm-ignore-falsable-return
*/
function mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false{}