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

Merge pull request #6453 from tvdijen/bugfix/preg_filter

This commit is contained in:
Bruce Weirdan 2021-09-08 00:16:59 +03:00 committed by GitHub
commit 3fcfc948b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -889,7 +889,7 @@ function str_word_count(string $string, int $format = 0, string|null $characters
* @param string|array<string|int|float> $replacement
* @param string|array<string|int|float> $subject
* @param int $count
* @return ($subject is array ? array<string> : string)
* @return ($subject is array ? array<string> : string|null)
*
* @psalm-flow ($replacement, $subject) -> return
*/