1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Merge pull request #7115 from weirdan/array_count_values-for-unknown-arrays

This commit is contained in:
Bruce Weirdan 2021-12-10 04:09:53 +02:00 committed by GitHub
commit 4ac0b649da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1092,7 +1092,7 @@ function str_getcsv(string $string, string $separator = ',', string $enclosure =
*
* @param TArray $array
*
* @return (TArray is non-empty-array ? non-empty-array<TKey, positive-int> : array<empty, empty>)
* @return (TArray is non-empty-array ? non-empty-array<TKey, positive-int> : array<TKey, positive-int>)
*
* @psalm-pure
*/