mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Merge pull request #7432 from RishiKumarRay/fix-md.split
Fix Incomplete return type for mb_split() function
This commit is contained in:
commit
84a4cbd3cf
@ -7304,7 +7304,7 @@ return [
|
||||
'mb_regex_set_options' => ['string', 'options='=>'string|null'],
|
||||
'mb_scrub' => ['string', 'string'=>'string', 'encoding='=>'string|null'],
|
||||
'mb_send_mail' => ['bool', 'to'=>'string', 'subject'=>'string', 'message'=>'string', 'additional_headers='=>'string|array', 'additional_params='=>'string|null'],
|
||||
'mb_split' => ['list<string>', 'pattern'=>'string', 'string'=>'string', 'limit='=>'int'],
|
||||
'mb_split' => ['list<string>|false', 'pattern'=>'string', 'string'=>'string', 'limit='=>'int'],
|
||||
'mb_str_split' => ['list<string>', 'string'=>'string', 'length='=>'positive-int', 'encoding='=>'string|null'],
|
||||
'mb_strcut' => ['string', 'string'=>'string', 'start'=>'int', 'length='=>'?int', 'encoding='=>'string|null'],
|
||||
'mb_strimwidth' => ['string', 'string'=>'string', 'start'=>'int', 'width'=>'int', 'trim_marker='=>'string', 'encoding='=>'string|null'],
|
||||
|
@ -12914,7 +12914,7 @@ return [
|
||||
'mb_regex_encoding' => ['string|bool', 'encoding='=>'string'],
|
||||
'mb_regex_set_options' => ['string', 'options='=>'string'],
|
||||
'mb_send_mail' => ['bool', 'to'=>'string', 'subject'=>'string', 'message'=>'string', 'additional_headers='=>'string|array', 'additional_params='=>'string'],
|
||||
'mb_split' => ['list<string>', 'pattern'=>'string', 'string'=>'string', 'limit='=>'int'],
|
||||
'mb_split' => ['list<string>|false', 'pattern'=>'string', 'string'=>'string', 'limit='=>'int'],
|
||||
'mb_strcut' => ['string', 'string'=>'string', 'start'=>'int', 'length='=>'?int', 'encoding='=>'string'],
|
||||
'mb_strimwidth' => ['string', 'string'=>'string', 'start'=>'int', 'width'=>'int', 'trim_marker='=>'string', 'encoding='=>'string'],
|
||||
'mb_stripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int', 'encoding='=>'string'],
|
||||
|
Loading…
Reference in New Issue
Block a user