Skip to content

Commit

Permalink
Merge pull request #7045 from weirdan/array-count-values-emptiness
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Dec 2, 2021
2 parents 396ff96 + dc271fe commit 16a61a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stubs/CoreGenericFunctions.phpstub
Expand Up @@ -1084,10 +1084,11 @@ function str_getcsv(string $string, string $separator = ',', string $enclosure =

/**
* @template TKey as array-key
* @template TArray as array<mixed, TKey>
*
* @param array<mixed, TKey> $array
* @param TArray $array
*
* @return array<TKey, positive-int>
* @return (TArray is non-empty-array ? non-empty-array<TKey, positive-int> : array<empty, empty>)
*
* @psalm-pure
*/
Expand Down

0 comments on commit 16a61a7

Please sign in to comment.