From fcf2bc3831cae4148ca29cee24a608148d5ba300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20Tou=C5=A1ek?= Date: Thu, 3 Dec 2020 15:28:26 +0100 Subject: [PATCH] Fix Ds\Sequence::toArray() return type (#4763) --- stubs/ext-ds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/ext-ds.php b/stubs/ext-ds.php index 2ac45687b..51f536cdc 100644 --- a/stubs/ext-ds.php +++ b/stubs/ext-ds.php @@ -605,7 +605,7 @@ interface Sequence extends Collection, ArrayAccess public function copy(): Sequence; /** - * @return array + * @return list * @psalm-mutation-free */ public function toArray(): array;