mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix return-type
This commit is contained in:
parent
0a0ae4bbf4
commit
417ea9c43d
@ -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…
x
Reference in New Issue
Block a user