Completed
Push — master ( 560fa4...c9989f )
by Alexandr
03:36
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/Validator/ResolveValidator/ResolveValidator.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param AbstractObjectType      $objectType
45
-     * @param Mutation|Query|AstField $field
46
-     * @return null
45
+     * @param AstField $field
46
+     * @return boolean
47 47
      */
48 48
     public function objectHasField($objectType, $field)
49 49
     {
@@ -58,6 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * @inheritdoc
61
+     * @param Query $query
61 62
      */
62 63
     public function validateArguments(AbstractField $field, $query, Request $request)
63 64
     {
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.