diff options
Diffstat (limited to 'Zend/zend_weakrefs.stub.php')
-rw-r--r-- | Zend/zend_weakrefs.stub.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_weakrefs.stub.php b/Zend/zend_weakrefs.stub.php index 4cf189b064..8cf0df5cf6 100644 --- a/Zend/zend_weakrefs.stub.php +++ b/Zend/zend_weakrefs.stub.php @@ -11,7 +11,7 @@ final class WeakReference public function get(): ?object {} } -final class WeakMap implements ArrayAccess, Countable, Traversable +final class WeakMap implements ArrayAccess, Countable, IteratorAggregate { /** * @param object $object @@ -32,4 +32,6 @@ final class WeakMap implements ArrayAccess, Countable, Traversable public function offsetUnset($object): void {} public function count(): int {} + + public function getIterator(): Iterator {} } |