Skip to content

Commit 7cd65aa

Browse files
committed
added property typehints
1 parent 8080ec3 commit 7cd65aa

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

src/Utils/Finder.php

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,19 @@ class Finder implements \IteratorAggregate, \Countable
3131
/** @var callable extension methods */
3232
private static $extMethods = [];
3333

34-
/** @var array */
35-
private $paths = [];
34+
private array $paths = [];
3635

37-
/** @var array of filters */
38-
private $groups = [];
36+
/** filters */
37+
private array $groups = [];
3938

40-
/** @var array filter for recursive traversing */
41-
private $exclude = [];
39+
/** filter for recursive traversing */
40+
private array $exclude = [];
4241

43-
/** @var int */
44-
private $order = RecursiveIteratorIterator::SELF_FIRST;
42+
private int $order = RecursiveIteratorIterator::SELF_FIRST;
4543

46-
/** @var int */
47-
private $maxDepth = -1;
44+
private int $maxDepth = -1;
4845

49-
/** @var array */
50-
private $cursor;
46+
private ?array $cursor;
5147

5248

5349
/**

0 commit comments

Comments
 (0)