Completed
Pull Request — master (#161)
by Sam
02:49
created
src/Execution/Request.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,6 +223,9 @@  discard block
 block discarded – undo
223 223
         return $this;
224 224
     }
225 225
 
226
+    /**
227
+     * @param string $name
228
+     */
226 229
     public function getVariable($name)
227 230
     {
228 231
         return $this->hasVariable($name) ? $this->variables[$name] : null;
@@ -266,7 +269,7 @@  discard block
 block discarded – undo
266 269
     }
267 270
 
268 271
     /**
269
-     * @return array|VariableReference[]
272
+     * @return VariableReference[]
270 273
      */
271 274
     public function getVariableReferences()
272 275
     {
Please login to merge, or discard this patch.
src/Execution/Processor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@
 block discarded – undo
185 185
         }
186 186
     }
187 187
 
188
+    /**
189
+     * @param \Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface $argumentValue
190
+     */
188 191
     private function prepareArgumentValue($argumentValue, AbstractType $argumentType, Request $request)
189 192
     {
190 193
         switch ($argumentType->getKind()) {
Please login to merge, or discard this patch.
src/Config/Schema/SchemaConfig.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
28 28
      */
29 29
     private $directiveList;
30 30
 
31
+    /**
32
+     * @param \Youshido\GraphQL\Schema\AbstractSchema $contextObject
33
+     */
31 34
     public function __construct(array $configData, $contextObject = null, $finalClass = false)
32 35
     {
33 36
         $this->typesList = new SchemaTypesList();
@@ -88,7 +91,7 @@  discard block
 block discarded – undo
88 91
     }
89 92
 
90 93
     /**
91
-     * @param $query AbstractObjectType
94
+     * @param ObjectType $query AbstractObjectType
92 95
      *
93 96
      * @return SchemaConfig
94 97
      */
Please login to merge, or discard this patch.