From 35201697e9eee1ae67cc979487a66c9a97bcf7bb Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Mon, 26 Oct 2020 16:53:03 +0100 Subject: [PATCH] Fix preg_match_all param name (#4416) --- stubs/CoreGenericFunctions.phpstub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/CoreGenericFunctions.phpstub b/stubs/CoreGenericFunctions.phpstub index 0fc5fcc45..6da54bf57 100644 --- a/stubs/CoreGenericFunctions.phpstub +++ b/stubs/CoreGenericFunctions.phpstub @@ -699,7 +699,7 @@ function preg_replace_callback($search, $replace, $subject, int $limit = -1, &$c * @return int|false * @psalm-ignore-falsable-return */ -function preg_match_all($pattern, $replace, &$matches = [], int $flags = 1, int $offset = 0) {} +function preg_match_all($pattern, $subject, &$matches = [], int $flags = 1, int $offset = 0) {} /** * @psalm-pure