1 | <?php |
||
9 | class Autocomplete |
||
10 | { |
||
11 | /** array */ |
||
12 | private $configuration; |
||
13 | |||
14 | /** |
||
15 | * @param string $input |
||
16 | * @param int $index |
||
17 | * @return array|bool |
||
18 | */ |
||
19 | public function __invoke($input, $index) |
||
23 | |||
24 | /** |
||
25 | * @param string $input |
||
26 | * @param int $index |
||
27 | * @return array|bool |
||
28 | */ |
||
29 | public function complete($input, $index) |
||
43 | |||
44 | /** |
||
45 | * @param array $configuration |
||
46 | * @return $this |
||
47 | */ |
||
48 | public function setConfiguration(array $configuration) |
||
54 | |||
55 | /** |
||
56 | * @param array $configuration |
||
57 | * @param array $tokens |
||
58 | * @return array|bool |
||
59 | */ |
||
60 | private function fetchCompletion(array $configuration, array &$tokens) |
||
99 | } |
||
100 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.