Skip to content

Commit 1989b02

Browse files
Add types to private and internal properties
1 parent e6ccc08 commit 1989b02

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Iterator/VcsIgnoredFilterIterator.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,17 @@
1818
*/
1919
final class VcsIgnoredFilterIterator extends \FilterIterator
2020
{
21-
/**
22-
* @var string
23-
*/
24-
private $baseDir;
21+
private string $baseDir;
2522

2623
/**
2724
* @var array<string, array{0: string, 1: string}|null>
2825
*/
29-
private $gitignoreFilesCache = [];
26+
private array $gitignoreFilesCache = [];
3027

3128
/**
3229
* @var array<string, bool>
3330
*/
34-
private $ignoredPathsCache = [];
31+
private array $ignoredPathsCache = [];
3532

3633
/**
3734
* @param \Iterator<string, \SplFileInfo> $iterator

0 commit comments

Comments
 (0)