Skip to content

Commit

Permalink
added property typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 7, 2021
1 parent 19e5891 commit 1d8c07c
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions src/Utils/Finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,19 @@ class Finder implements \IteratorAggregate, \Countable
/** @var callable extension methods */
private static $extMethods = [];

/** @var array */
private $paths = [];
private array $paths = [];

/** @var array of filters */
private $groups = [];
/** filters */
private array $groups = [];

/** @var array filter for recursive traversing */
private $exclude = [];
/** filter for recursive traversing */
private array $exclude = [];

/** @var int */
private $order = RecursiveIteratorIterator::SELF_FIRST;
private int $order = RecursiveIteratorIterator::SELF_FIRST;

/** @var int */
private $maxDepth = -1;
private int $maxDepth = -1;

/** @var array */
private $cursor;
private ?array $cursor;


/**
Expand Down

0 comments on commit 1d8c07c

Please sign in to comment.