Skip to content

Commit

Permalink
Backport WeakMap iterator fix from master
Browse files Browse the repository at this point in the history
Refs #10773
  • Loading branch information
weirdan committed Mar 3, 2024
1 parent 20e8604 commit edc123b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions stubs/CoreGenericClasses.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,11 @@ final class WeakMap implements ArrayAccess, Countable, IteratorAggregate, Traver
* @return void
*/
public function offsetUnset($offset) {}

/**
* @return Traversable<TKey, TVal>
*/
public function getIterator() { }
}

class mysqli
Expand Down

0 comments on commit edc123b

Please sign in to comment.