From 92cb0d9241ef651cd239144f325efec31fde34fa Mon Sep 17 00:00:00 2001 From: Claudio Zizza Date: Thu, 10 Oct 2024 00:25:07 +0200 Subject: [PATCH] Set phpstan template information for iterator --- .../CompilerPass/SorterBuilderKeyIterator.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/DependencyInjection/CompilerPass/SorterBuilderKeyIterator.php b/src/DependencyInjection/CompilerPass/SorterBuilderKeyIterator.php index 70c5090..379b0c0 100644 --- a/src/DependencyInjection/CompilerPass/SorterBuilderKeyIterator.php +++ b/src/DependencyInjection/CompilerPass/SorterBuilderKeyIterator.php @@ -15,6 +15,13 @@ use function preg_replace; use function strtolower; +/** + * @template TKey + * @template T + * @template TIterator as ArrayIterator + * + * @extends FilterIterator + */ class SorterBuilderKeyIterator extends FilterIterator { /** @phpstan-param class-string $className */