1 | <?php |
||
25 | class DocsQuery extends Query |
||
26 | { |
||
27 | use QueryLimit; |
||
28 | |||
29 | /** |
||
30 | * @var array |
||
31 | */ |
||
32 | protected $attributes = [ |
||
33 | 'name' => 'Docs list query', |
||
34 | 'description' => 'Returns a list of available documentation repositories', |
||
35 | ]; |
||
36 | |||
37 | /** |
||
38 | * @return ListOfType |
||
39 | */ |
||
40 | public function type(): ListOfType |
||
44 | |||
45 | /** |
||
46 | * @return array |
||
47 | */ |
||
48 | public function args(): array |
||
52 | |||
53 | /** |
||
54 | * @param $root |
||
55 | * @param array $args |
||
56 | * @return Collection |
||
57 | */ |
||
58 | public function resolve($root, array $args = []): Collection |
||
70 | } |
||
71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.