mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix preg_match return types
This commit is contained in:
parent
da19b55db1
commit
20b148d2d5
@ -7144,8 +7144,8 @@ return [
|
||||
'preg_filter' => ['', 'regex'=>'', 'replace'=>'', 'subject'=>'', 'limit='=>'int', '&count='=>'int'],
|
||||
'preg_grep' => ['array', 'regex'=>'string', 'input'=>'array', 'flags='=>'int'],
|
||||
'preg_last_error' => ['int'],
|
||||
'preg_match_all' => ['int', 'pattern'=>'string', 'subject'=>'string', '&subpatterns='=>'array', 'flags='=>'int', 'offset='=>'int'],
|
||||
'preg_match' => ['int', 'pattern'=>'string', 'subject'=>'string', '&subpatterns='=>'array', 'flags='=>'int', 'offset='=>'int'],
|
||||
'preg_match_all' => ['int|false', 'pattern'=>'string', 'subject'=>'string', '&subpatterns='=>'array', 'flags='=>'int', 'offset='=>'int'],
|
||||
'preg_match' => ['int|false', 'pattern'=>'string', 'subject'=>'string', '&subpatterns='=>'array', 'flags='=>'int', 'offset='=>'int'],
|
||||
'preg_quote' => ['string', 'str'=>'string', 'delim_char='=>'string'],
|
||||
'preg_replace_callback_array' => ['string|array', 'pattern'=>'callable[]', 'subject'=>'array', 'limit='=>'int', '&count='=>'int'],
|
||||
'preg_replace_callback' => ['string|array', 'regex'=>'string|array', 'callback'=>'callable', 'subject'=>'string|array', 'limit='=>'int', '&count='=>'int'],
|
||||
|
Loading…
Reference in New Issue
Block a user