Completed
Push — master ( 1641ea...5cdde0 )
by Alexandr
02:42
created
src/Execution/Request.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
     {
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $name
50
+     */
48 51
     public function addQuery($name, AbstractObjectType $query)
49 52
     {
50 53
         $this->getQueryType()->getConfig()->addField($name, $query);
Please login to merge, or discard this patch.
src/Config/Traits/ResolvableObjectTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 trait ResolvableObjectTrait
15 15
 {
16 16
 
17
+    /**
18
+     * @param string|boolean $value
19
+     */
17 20
     public function resolve($value, array $args, ResolveInfo $info)
18 21
     {
19 22
         if ($resolveFunction = $this->getConfig()->getResolveFunction()) {
Please login to merge, or discard this patch.
src/Execution/Processor.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -221,6 +221,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/Execution/Reducer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Parser/Parser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Parser/Token.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -51,6 +51,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.