From 1667bda042320163fe503dd15e9fee3d37cb31cf Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes <ondrej@mirtes.cz> Date: Thu, 4 Apr 2024 09:45:12 +0200 Subject: [PATCH] Collection stub - we do not need `|null` in ArrayAccess TKey Closes #557 --- stubs/Collections/Collection.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/Collections/Collection.stub b/stubs/Collections/Collection.stub index f6aafc8c..455733c8 100644 --- a/stubs/Collections/Collection.stub +++ b/stubs/Collections/Collection.stub @@ -10,7 +10,7 @@ use IteratorAggregate; * @template TKey of array-key * @template T * @extends IteratorAggregate<TKey, T> - * @extends ArrayAccess<TKey|null, T> + * @extends ArrayAccess<TKey, T> * @extends ReadableCollection<TKey, T> */ interface Collection extends Countable, IteratorAggregate, ArrayAccess, ReadableCollection