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:
commit
3fcfc948b0
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user