Skip to content

Commit fdfdc2e

Browse files
authored
Make iterable_to_array return value more precise (#47)
1 parent 6a094a2 commit fdfdc2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/iterable-functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function iterable_merge(iterable ...$args): iterable
5252
*
5353
* @return array<array-key, TValue>
5454
*
55-
* @psalm-return ($preserveKeys is true ? array<TKey, TValue> : array<int, TValue>)
55+
* @psalm-return ($preserveKeys is true ? array<TKey, TValue> : list<TValue>)
5656
* @template TKey of array-key
5757
* @template TValue
5858
*/

0 commit comments

Comments
 (0)