mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Improve preg_split return more
This commit is contained in:
parent
23d1571d2a
commit
e999728892
@ -607,7 +607,7 @@ function explode(string $delimiter, string $string, int $limit = -1) : array {}
|
||||
*
|
||||
* @psalm-flow ($subject) -(array-assignment)-> return
|
||||
*
|
||||
* @return ($flags is 1|3|5|7 ? list<string>|false : non-empty-list<string>|false)
|
||||
* @return ($flags is 0 ? non-empty-list<string>|false : list<string>|list<list<string|int>>|false)
|
||||
*
|
||||
* @psalm-ignore-falsable-return
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user