From 3fa86c9bd2705cb2e967ca226ed6b8902a469596 Mon Sep 17 00:00:00 2001 From: Dragos Protung Date: Mon, 30 Sep 2024 18:04:26 +0200 Subject: [PATCH] Allow iterable for Vec\concat first argument --- src/Psl/Vec/concat.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Psl/Vec/concat.php b/src/Psl/Vec/concat.php index 18ac064b..00242770 100644 --- a/src/Psl/Vec/concat.php +++ b/src/Psl/Vec/concat.php @@ -9,12 +9,12 @@ * * @template T * - * @param list $first + * @param iterable $first * @param iterable ...$rest * * @return list */ -function concat(array $first, iterable ...$rest): array +function concat(iterable $first, iterable ...$rest): array { $first = values($first); foreach ($rest as $arr) {