Closes #77 · sebastianbergmann/php-file-iterator@0f91657 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
1 1
2 -<files psalm-version="5.6.0@e784128902dfe01d489c4123d69918a9f3c1eac5">
3 - <file src="src/Iterator.php">
4 - <MissingTemplateParam>
5 - <code>Iterator</code>
6 - </MissingTemplateParam>
7 - </file>
8 -</files>
2 +<files psalm-version="5.6.0@e784128902dfe01d489c4123d69918a9f3c1eac5"/>
Original file line number Diff line number Diff line change
@@ -18,10 +18,13 @@
18 18 use function str_ends_with;
19 19 use function str_replace;
20 20 use function str_starts_with;
21 +use AppendIterator;
21 22 use FilterIterator;
22 23 use SplFileInfo;
23 24
24 25 /**
26 + * @template-extends FilterIterator<int, string, AppendIterator>
27 + *
25 28 * @internal This class is not covered by the backward compatibility promise for phpunit/php-file-iterator
26 29 */
27 30 final class Iterator extends FilterIterator