Completed
Pull Request — master (#37)
by Sebastian
03:52
created
Tests/DataProvider/TestField.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,13 +16,16 @@
 block discarded – undo
16 16
 {
17 17
 
18 18
     /**
19
-     * @return AbstractObjectType
19
+     * @return IntType
20 20
      */
21 21
     public function getType()
22 22
     {
23 23
         return new IntType();
24 24
     }
25 25
 
26
+    /**
27
+     * @param string $value
28
+     */
26 29
     public function resolve($value, array $args, ResolveInfo $info)
27 30
     {
28 31
         return $value;
Please login to merge, or discard this patch.
Tests/DataProvider/TestInputField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 {
17 17
 
18 18
     /**
19
-     * @return AbstractInputObjectType
19
+     * @return IntType
20 20
      */
21 21
     public function getType()
22 22
     {
Please login to merge, or discard this patch.
src/Execution/Processor.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @param Query|Field        $query
112
+     * @param Query        $query
113 113
      * @param AbstractObjectType $currentLevelSchema
114 114
      * @return array|bool|mixed
115 115
      */
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
     }
313 313
 
314 314
     /**
315
-     * @param $query         Query|FragmentInterface
315
+     * @param Query $query         Query|FragmentInterface
316 316
      * @param $queryType     AbstractObjectType|TypeInterface|Field|AbstractType
317 317
      * @param $resolvedValue mixed
318 318
      * @param $value         array
@@ -415,6 +415,9 @@  discard block
 block discarded – undo
415 415
         return $result;
416 416
     }
417 417
 
418
+    /**
419
+     * @param integer $max
420
+     */
418 421
     public function setMaxComplexity($max) {
419 422
         $this->maxComplexity = $max;
420 423
     }
@@ -470,7 +473,7 @@  discard block
 block discarded – undo
470 473
      *
471 474
      * childScore costs are accumulated via values sent into the coroutine.
472 475
      *
473
-     * @param Query|Field|FragmentInterface $queryNode
476
+     * @param Query $queryNode
474 477
      * @param AbstractField                 $currentLevelAST
475 478
      *
476 479
      * @return \Generator
Please login to merge, or discard this patch.