mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +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
|
* @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
|
* @psalm-ignore-falsable-return
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user