mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 09:37:59 +01:00
Fix iteration over weakmaps
This commit is contained in:
parent
0e43c441d0
commit
f980689d97
@ -492,6 +492,16 @@ final class WeakMap implements ArrayAccess, Countable, IteratorAggregate, Traver
|
|||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset) {}
|
public function offsetUnset($offset) {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new iterator from an ArrayObject instance
|
||||||
|
* @link http://php.net/manual/en/arrayobject.getiterator.php
|
||||||
|
*
|
||||||
|
* @return \Traversable<TKey, TValue> An iterator from an ArrayObject.
|
||||||
|
*
|
||||||
|
* @since 5.0.0
|
||||||
|
*/
|
||||||
|
public function getIterator() { }
|
||||||
}
|
}
|
||||||
|
|
||||||
class mysqli
|
class mysqli
|
||||||
|
Loading…
Reference in New Issue
Block a user