1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Add key method

This commit is contained in:
Brown 2020-04-27 10:03:16 -04:00
parent f0487c216d
commit a701163f0a

View File

@ -670,6 +670,10 @@ class UnusedCodeTest extends TestCase
public function current() { public function current() {
return $this->current; return $this->current;
} }
public function key() {
return 5;
}
} }
$items = new IterableResult(); $items = new IterableResult();