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

improve mb_strtolower return type (#4469)

this fixes #4455
This commit is contained in:
Philip Hofstetter 2020-11-02 14:18:42 +01:00 committed by Daniil Gentili
parent 42836815da
commit 61a24c5577
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -7211,7 +7211,7 @@ return [
'mb_strripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int', 'encoding='=>'string'],
'mb_strrpos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int', 'encoding='=>'string'],
'mb_strstr' => ['string|false', 'haystack'=>'string', 'needle'=>'string', 'part='=>'bool', 'encoding='=>'string'],
'mb_strtolower' => ['string|false', 'string'=>'string', 'encoding='=>'string'],
'mb_strtolower' => ['lowercase-string|false', 'string'=>'string', 'encoding='=>'string'],
'mb_strtoupper' => ['string|false', 'string'=>'string', 'encoding='=>'string'],
'mb_strwidth' => ['int|false', 'string'=>'string', 'encoding='=>'string'],
'mb_substitute_character' => ['bool|int|string', 'substchar='=>'mixed'],