mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Allow more types for back-compat
This commit is contained in:
parent
d8f4eb2d6d
commit
6d4d1668f6
@ -567,7 +567,7 @@ function rtrim(string $str, string $character_mask = " \t\n\r\0\x0B") : string {
|
||||
* @psalm-pure
|
||||
*
|
||||
* @param string|array $glue
|
||||
* @param array<string|float|int|stringable-object> $pieces
|
||||
* @param array<string|float|int|stringable-object|null|bool> $pieces
|
||||
*
|
||||
* @return (
|
||||
* $glue is non-empty-string
|
||||
|
Loading…
x
Reference in New Issue
Block a user