mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Ds\Queue & Ds\Set implement ArrayAccess as well (#4415)
This commit is contained in:
parent
d027bbf41b
commit
36b7186712
@ -730,8 +730,9 @@ final class Vector implements Sequence
|
||||
/**
|
||||
* @template TValue
|
||||
* @implements Collection<int, TValue>
|
||||
* @implements ArrayAccess<int, TValue>
|
||||
*/
|
||||
final class Set implements Collection
|
||||
final class Set implements Collection, ArrayAccess
|
||||
{
|
||||
/**
|
||||
* @param iterable<TValue> $values
|
||||
@ -937,8 +938,9 @@ final class Stack implements Collection, ArrayAccess
|
||||
/**
|
||||
* @template TValue
|
||||
* @implements Collection<int, TValue>
|
||||
* @implements ArrayAccess<int, TValue>
|
||||
*/
|
||||
final class Queue implements Collection
|
||||
final class Queue implements Collection, ArrayAccess
|
||||
{
|
||||
/**
|
||||
* @param iterable<TValue> $values
|
||||
|
Loading…
Reference in New Issue
Block a user