From 6081b9cb6ac134ba6a088a024d8e09f1c4b21a2c Mon Sep 17 00:00:00 2001 From: Philip Weinke Date: Sat, 14 Oct 2023 10:13:34 +0200 Subject: [PATCH] Make iterable_to_array return value more precise --- src/iterable-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iterable-functions.php b/src/iterable-functions.php index f525d91..1253042 100644 --- a/src/iterable-functions.php +++ b/src/iterable-functions.php @@ -52,7 +52,7 @@ function iterable_merge(iterable ...$args): iterable * * @return array * - * @psalm-return ($preserveKeys is true ? array : array) + * @psalm-return ($preserveKeys is true ? array : list) * @template TKey of array-key * @template TValue */