1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

Add explicit offset

Fixes #4202
This commit is contained in:
Brown 2020-09-17 21:35:30 -04:00 committed by Daniil Gentili
parent b321b47822
commit da8df71b2f
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -667,7 +667,7 @@ function preg_replace_callback($search, $replace, $subject, int $limit = -1, &$c
* ) $matches
* @return int
*/
function preg_match_all($pattern, $replace, &$matches = [], int $flags = 1) {}
function preg_match_all($pattern, $replace, &$matches = [], int $flags = 1, int $offset = 0) {}
/**
* @psalm-pure