1 | <?php |
||
21 | class SearchQuery extends AbstractQuery |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | protected $attributes = [ |
||
27 | 'name' => 'Article list query', |
||
28 | 'description' => 'Returns a list of available articles', |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * @return ListOfType |
||
33 | */ |
||
34 | public function type(): ListOfType |
||
38 | |||
39 | /** |
||
40 | * @param $root |
||
41 | * @param array $args |
||
42 | * @return Collection |
||
43 | */ |
||
44 | public function resolve($root, array $args = []): Collection |
||
50 | |||
51 | /** |
||
52 | * @return array |
||
53 | */ |
||
54 | protected function queryArguments(): array |
||
67 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.