Skip to content

Commit

Permalink
Set phpstan template information for iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Oct 9, 2024
1 parent 81c8191 commit 92cb0d9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
use function preg_replace;
use function strtolower;

/**
* @template TKey
* @template T
* @template TIterator as ArrayIterator<int, ReflectionMethod>
*
* @extends FilterIterator<TKey, T, TIterator>
*/
class SorterBuilderKeyIterator extends FilterIterator
{
/** @phpstan-param class-string $className */
Expand Down

0 comments on commit 92cb0d9

Please sign in to comment.