Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hamburnyog committed Oct 31, 2022
1 parent b739b67 commit 77b3962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/CoreGenericIterators.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class CachingIterator extends IteratorIterator implements OuterIterator , ArrayA
const TOSTRING_USE_CURRENT = 4 ;
const TOSTRING_USE_INNER = 8 ;
const FULL_CACHE = 256 ;

/**
* @param Iterator<TKey, TValue> $iterator
* @param int-mask-of<self::*> $flags
Expand Down Expand Up @@ -561,7 +561,7 @@ class LimitIterator extends IteratorIterator implements OuterIterator {
/**
* @param Iterator<TKey, TValue> $iterator
*/
public function __construct(Iterator $iterator, int $offset = 0, int $count = -1) {}
public function __construct(Iterator $iterator, int $offset = 0, int $limit = -1) {}

/**
* @return TValue|null current value or null when iterator is drained
Expand Down

0 comments on commit 77b3962

Please sign in to comment.