Skip to content

Commit

Permalink
Add explicit offset
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug authored and danog committed Jan 29, 2021
1 parent b321b47 commit da8df71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Stubs/CoreGenericFunctions.phpstub
Expand Up @@ -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
Expand Down

0 comments on commit da8df71

Please sign in to comment.