Skip to content

Commit

Permalink
Update CachingIterator, use int-mask-of.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jul 22, 2022
1 parent 3e0f0b6 commit 63b6453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/CoreGenericIterators.phpstub
Expand Up @@ -358,7 +358,7 @@ class CachingIterator extends IteratorIterator implements OuterIterator , ArrayA

/**
* @param TIterator $iterator
* @param int-mask<1,2,4,8,16,256> $flags
* @param int-mask-of<self::*> $flags
*/
public function __construct(Iterator $iterator, int $flags = self::CALL_TOSTRING) {}

Expand Down

0 comments on commit 63b6453

Please sign in to comment.