mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix tests
This commit is contained in:
parent
d0c9272227
commit
6f51b4a432
@ -823,9 +823,12 @@ class ClassTest extends TestCase
|
||||
/**
|
||||
* @template TKey
|
||||
* @template TValue
|
||||
* @extends FilterIterator<TKey, TValue>
|
||||
* @extends FilterIterator<TKey, TValue, Iterator<TKey, TValue>>
|
||||
*/
|
||||
class DedupeIterator extends FilterIterator {
|
||||
/**
|
||||
* @param Iterator<TKey, TValue> $i
|
||||
*/
|
||||
public function __construct(Iterator $i) {
|
||||
parent::__construct($i);
|
||||
}
|
||||
|
@ -444,7 +444,7 @@ class InterfaceTest extends TestCase
|
||||
interface I2 extends Iterator {}
|
||||
|
||||
/**
|
||||
* @extends FilterIterator<mixed, mixed>
|
||||
* @extends FilterIterator<mixed, mixed, Iterator<mixed, mixed>>
|
||||
*/
|
||||
class DedupeIterator extends FilterIterator {
|
||||
public function __construct(I2 $i) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user