1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix preg_match_all param name (#4416)

This commit is contained in:
Simon Podlipsky 2020-10-26 16:53:03 +01:00 committed by Daniil Gentili
parent 870d07ba51
commit 35201697e9
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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