@@ -31,43 +31,31 @@ class RobotLoader
3131 private const RetryLimit = 3 ;
3232
3333 /** @var string[] */
34- public $ ignoreDirs = ['.* ' , '*.old ' , '*.bak ' , '*.tmp ' , 'temp ' ];
34+ public array $ ignoreDirs = ['.* ' , '*.old ' , '*.bak ' , '*.tmp ' , 'temp ' ];
3535
3636 /** @var string[] */
37- public $ acceptFiles = ['*.php ' ];
38-
39- /** @var bool */
40- private $ autoRebuild = true ;
41-
42- /** @var bool */
43- private $ reportParseErrors = true ;
37+ public array $ acceptFiles = ['*.php ' ];
38+ private bool $ autoRebuild = true ;
39+ private bool $ reportParseErrors = true ;
4440
4541 /** @var string[] */
46- private $ scanPaths = [];
42+ private array $ scanPaths = [];
4743
4844 /** @var string[] */
49- private $ excludeDirs = [];
45+ private array $ excludeDirs = [];
5046
5147 /** @var array<string, array{string, int}> class => [file, time] */
52- private $ classes = [];
53-
54- /** @var bool */
55- private $ cacheLoaded = false ;
56-
57- /** @var bool */
58- private $ refreshed = false ;
48+ private array $ classes = [];
49+ private bool $ cacheLoaded = false ;
50+ private bool $ refreshed = false ;
5951
6052 /** @var array<string, int> class => counter */
61- private $ missingClasses = [];
53+ private array $ missingClasses = [];
6254
6355 /** @var array<string, int> file => mtime */
64- private $ emptyFiles = [];
65-
66- /** @var string|null */
67- private $ tempDirectory ;
68-
69- /** @var bool */
70- private $ needSave = false ;
56+ private array $ emptyFiles = [];
57+ private ?string $ tempDirectory = null ;
58+ private bool $ needSave = false ;
7159
7260
7361 public function __construct ()
0 commit comments