mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Add key method
This commit is contained in:
parent
f0487c216d
commit
a701163f0a
@ -670,6 +670,10 @@ class UnusedCodeTest extends TestCase
|
||||
public function current() {
|
||||
return $this->current;
|
||||
}
|
||||
|
||||
public function key() {
|
||||
return 5;
|
||||
}
|
||||
}
|
||||
|
||||
$items = new IterableResult();
|
||||
|
Loading…
Reference in New Issue
Block a user