Completed
Push — master ( 118ce9...9e4cdb )
by Alexandr
02:51
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\ArgumentValue\ValueInterface $argumentValue
226
+     */
224 227
     private function prepareArgumentValue($argumentValue, AbstractType $argumentType, Request $request)
225 228
     {
226 229
         switch ($argumentType->getKind()) {
@@ -304,6 +307,9 @@  discard block
 block discarded – undo
304 307
         }
305 308
     }
306 309
 
310
+    /**
311
+     * @param AstFieldInterface $ast
312
+     */
307 313
     private function collectResult(FieldInterface $field, AbstractObjectType $type, $ast, $resolvedValue)
308 314
     {
309 315
         /** @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|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.