Skip to content

Commit

Permalink
array_count_values return type for uncertain arrays
Browse files Browse the repository at this point in the history
Fixes #7114
  • Loading branch information
weirdan committed Dec 10, 2021
1 parent ae765df commit 3cce691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/CoreGenericFunctions.phpstub
Expand Up @@ -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
*/
Expand Down

0 comments on commit 3cce691

Please sign in to comment.