1 | <?php |
||
4 | class Locator implements LocatorInterface |
||
5 | { |
||
6 | /** |
||
7 | * @var string[] |
||
8 | */ |
||
9 | private $dirs = []; |
||
10 | |||
11 | /** |
||
12 | * @param string $root |
||
13 | */ |
||
14 | public function __construct($root = null) |
||
22 | |||
23 | /** |
||
24 | * @param string $root |
||
25 | */ |
||
26 | public function addRoot($root) |
||
33 | |||
34 | /** |
||
35 | * @param string $file |
||
36 | * @return bool|string |
||
37 | */ |
||
38 | public function locate($file) |
||
49 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.