mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix wrong annotations in ext-ds method stubs (#2263)
* Fix wrong annotation for class implementing an interface * Fix unrecognised annotations
This commit is contained in:
parent
39b25f9008
commit
e82d3c438d
@ -23,7 +23,7 @@ use UnderflowException;
|
||||
* @package Ds
|
||||
* @template TValue
|
||||
*
|
||||
* @psalm-extends Traversable<mixed, TValue>
|
||||
* @extends Traversable<mixed, TValue>
|
||||
*/
|
||||
interface Collection extends Traversable, Countable, JsonSerializable
|
||||
{
|
||||
@ -79,7 +79,7 @@ interface Collection extends Traversable, Countable, JsonSerializable
|
||||
* @package Ds
|
||||
* @template TValue
|
||||
*
|
||||
* @psalm-extends Sequence<TValue>
|
||||
* @implements Sequence<TValue>
|
||||
*/
|
||||
final class Deque implements IteratorAggregate, ArrayAccess, Sequence
|
||||
{
|
||||
@ -500,9 +500,9 @@ interface Hashable
|
||||
* @template TKey
|
||||
* @template TValue
|
||||
*
|
||||
* @psalm-implements Collection<TValue>
|
||||
* @psalm-implements ArrayAccess<TKey, TValue>
|
||||
* @psalm-implements IteratorAggregate<TKey, TValue>
|
||||
* @implements Collection<TValue>
|
||||
* @implements ArrayAccess<TKey, TValue>
|
||||
* @implements IteratorAggregate<TKey, TValue>
|
||||
*/
|
||||
final class Map implements IteratorAggregate, ArrayAccess, Collection
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user