1
0
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:
Matt Brown 2021-06-21 20:11:00 -04:00
parent d8f4eb2d6d
commit 6d4d1668f6

View File

@ -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