@@ -221,6 +221,9 @@ discard block |
||
221 | 221 | } |
222 | 222 | } |
223 | 223 | |
224 | + /** |
|
225 | + * @param \Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface $argumentValue |
|
226 | + */ |
|
224 | 227 | private function prepareArgumentValue($argumentValue, AbstractType $argumentType, Request $request) |
225 | 228 | { |
226 | 229 | switch ($argumentType->getKind()) { |
@@ -314,6 +317,9 @@ discard block |
||
314 | 317 | } |
315 | 318 | } |
316 | 319 | |
320 | + /** |
|
321 | + * @param AstFieldInterface $ast |
|
322 | + */ |
|
317 | 323 | private function collectResult(FieldInterface $field, AbstractObjectType $type, $ast, $resolvedValue) |
318 | 324 | { |
319 | 325 | /** @var AstQuery $ast */ |
@@ -92,7 +92,7 @@ |
||
92 | 92 | * Fragments (anonymous and named), and Fields. The core of the function is simple: recurse until we hit the base |
93 | 93 | * case of a Field and yield that back up to the visitor up in `doVisit`. |
94 | 94 | * |
95 | - * @param Query|Field|\Youshido\GraphQL\Parser\Ast\Interfaces\FragmentInterface $queryNode |
|
95 | + * @param Query $queryNode |
|
96 | 96 | * @param FieldInterface $currentLevelAST |
97 | 97 | * |
98 | 98 | * @return \Generator |
@@ -294,7 +294,7 @@ |
||
294 | 294 | } |
295 | 295 | |
296 | 296 | /** |
297 | - * @return array|InputList|InputObject|Literal|VariableReference |
|
297 | + * @return Ast\Interfaces\ValueInterface |
|
298 | 298 | * |
299 | 299 | * @throws SyntaxErrorException |
300 | 300 | */ |
@@ -51,6 +51,10 @@ |
||
51 | 51 | /** @var integer */ |
52 | 52 | private $column; |
53 | 53 | |
54 | + /** |
|
55 | + * @param integer $line |
|
56 | + * @param integer $column |
|
57 | + */ |
|
54 | 58 | public function __construct($type, $line, $column, $data = null) |
55 | 59 | { |
56 | 60 | $this->type = $type; |
@@ -23,6 +23,9 @@ discard block |
||
23 | 23 | */ |
24 | 24 | private $typesList; |
25 | 25 | |
26 | + /** |
|
27 | + * @param \Youshido\GraphQL\Schema\AbstractSchema $contextObject |
|
28 | + */ |
|
26 | 29 | public function __construct(array $configData, $contextObject = null, $finalClass = false) |
27 | 30 | { |
28 | 31 | $this->typesList = new SchemaTypesList(); |
@@ -78,7 +81,7 @@ discard block |
||
78 | 81 | } |
79 | 82 | |
80 | 83 | /** |
81 | - * @param $query AbstractObjectType |
|
84 | + * @param ObjectType $query AbstractObjectType |
|
82 | 85 | * |
83 | 86 | * @return SchemaConfig |
84 | 87 | */ |