mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
added str_word_count to the stub file (fix #6016)
This commit is contained in:
parent
0196afc758
commit
b373c0c7f9
@ -843,6 +843,17 @@ function strrchr(string $haystack, string $needle) {}
|
||||
*/
|
||||
function strrev(string $string): string {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
*
|
||||
* @psalm-return (
|
||||
* $format is positive-int
|
||||
* ? array<string>
|
||||
* : int
|
||||
* )
|
||||
*/
|
||||
function str_word_count(string $string, int $format = 0, string|null $characters = null) {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user