Skip to content

Commit

Permalink
Add CallbackFilterIterator stub
Browse files Browse the repository at this point in the history
  • Loading branch information
jdecool authored and ondrejmirtes committed Feb 8, 2022
1 parent c5f4c3b commit 868720e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/config.neon
Expand Up @@ -24,6 +24,7 @@ parameters:
disableRuntimeReflectionProvider: false
skipCheckGenericClasses:
- DatePeriod
- CallbackFilterIterator
- FilterIterator
fileExtensions:
- php
Expand Down
12 changes: 12 additions & 0 deletions stubs/iterable.stub
Expand Up @@ -205,6 +205,18 @@ class FilterIterator extends IteratorIterator

}

/**
* @template-covariant TKey
* @template-covariant TValue
* @template TIterator as Traversable<TKey, TValue>
*
* @extends FilterIterator<TKey, TValue, TIterator>
*/
class CallbackFilterIterator extends FilterIterator
{

}

/**
* @template TKey of array-key
* @template TValue
Expand Down

0 comments on commit 868720e

Please sign in to comment.