mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 09:37:59 +01:00
Add missing false return value to the stub
This commit is contained in:
parent
09933db94a
commit
930ee578f1
@ -1305,6 +1305,6 @@ function is_a($object_or_class, string $class, $allow_string = false): bool{}
|
|||||||
/**
|
/**
|
||||||
* @template T of array|string
|
* @template T of array|string
|
||||||
* @param T $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{}
|
function mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null): array|string|false{}
|
||||||
|
Loading…
Reference in New Issue
Block a user