Completed
Push — master ( 7a45d0...64e77b )
by Alexandr
03:12
created
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
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
-     * @param Query|Field        $query
114
+     * @param Query        $query
115 115
      * @param AbstractObjectType $currentLevelSchema
116 116
      * @return array|bool|mixed
117 117
      */
@@ -260,6 +260,9 @@  discard block
 block discarded – undo
260 260
         }
261 261
     }
262 262
 
263
+    /**
264
+     * @param AbstractField $field
265
+     */
263 266
     protected function createResolveInfo($field, $fields) {
264 267
         return new ResolveInfo($field, $fields, $this->executionContext);
265 268
     }
@@ -322,7 +325,7 @@  discard block
 block discarded – undo
322 325
     }
323 326
 
324 327
     /**
325
-     * @param $query         Query|FragmentInterface
328
+     * @param Query $query         Query|FragmentInterface
326 329
      * @param $queryType     AbstractObjectType|TypeInterface|Field|AbstractType
327 330
      * @param $resolvedValue mixed
328 331
      * @param $value         array
@@ -494,7 +497,7 @@  discard block
 block discarded – undo
494 497
      * Fragments (anonymous and named), and Fields.  The core of the function is simple: recurse until we hit the base
495 498
      * case of a Field and yield that back up to the visitor up in `doVisit`.
496 499
      *
497
-     * @param Query|Field|FragmentInterface $queryNode
500
+     * @param Query $queryNode
498 501
      * @param AbstractField                 $currentLevelAST
499 502
      *
500 503
      * @return \Generator
Please login to merge, or discard this patch.
src/Type/Object/AbstractObjectType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         return $this->getConfigValue('interfaces', []);
88 88
     }
89 89
 
90
+    /**
91
+     * @param ObjectType|null $value
92
+     */
90 93
     public function isValidValue($value)
91 94
     {
92 95
         return is_array($value) || is_null($value) || is_object($value);
Please login to merge, or discard this patch.
src/Execution/Request.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
 
95 95
     /**
96
-     * @param $name
96
+     * @param string $name
97 97
      *
98 98
      * @return Field
99 99
      */
@@ -125,6 +125,9 @@  discard block
 block discarded – undo
125 125
         return $this->fields;
126 126
     }
127 127
 
128
+    /**
129
+     * @param string $name
130
+     */
128 131
     public function removeField($name)
129 132
     {
130 133
         if ($this->hasField($name)) {
Please login to merge, or discard this patch.
src/Config/Schema/SchemaConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @param $query AbstractObjectType
38
+     * @param \Youshido\Tests\StarWars\Schema\StarWarsQueryType $query AbstractObjectType
39 39
      *
40 40
      * @return SchemaConfig
41 41
      */
Please login to merge, or discard this patch.