diff --git a/src/Psalm/CallMap.php b/src/Psalm/CallMap.php index fc05fa56a..d8a5b540f 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -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'],