From 36b718671293ab1bbaa703a409c32d8c01fcce15 Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Mon, 26 Oct 2020 02:16:12 +0100 Subject: [PATCH] Ds\Queue & Ds\Set implement ArrayAccess as well (#4415) --- stubs/ext-ds.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stubs/ext-ds.php b/stubs/ext-ds.php index 5407e7019..bd0bdc337 100644 --- a/stubs/ext-ds.php +++ b/stubs/ext-ds.php @@ -730,8 +730,9 @@ final class Vector implements Sequence /** * @template TValue * @implements Collection + * @implements ArrayAccess */ -final class Set implements Collection +final class Set implements Collection, ArrayAccess { /** * @param iterable $values @@ -937,8 +938,9 @@ final class Stack implements Collection, ArrayAccess /** * @template TValue * @implements Collection + * @implements ArrayAccess */ -final class Queue implements Collection +final class Queue implements Collection, ArrayAccess { /** * @param iterable $values