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