Skip to content

Commit

Permalink
Improve preg_split return more
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Oct 12, 2020
1 parent 33e3758 commit a6c73a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/CoreGenericFunctions.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit a6c73a9

Please sign in to comment.