Completed
Push — master ( 686b71...786636 )
by Alexandr
03:06
created
src/Config/Schema/SchemaConfig.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
      */
24 24
     private $typesList;
25 25
 
26
+    /**
27
+     * @param \Youshido\GraphQL\Schema\AbstractSchema $contextObject
28
+     */
26 29
     public function __construct(array $configData, $contextObject = null, $finalClass = false)
27 30
     {
28 31
         $this->typesList = new SchemaTypesList();
@@ -78,7 +81,7 @@  discard block
 block discarded – undo
78 81
     }
79 82
 
80 83
     /**
81
-     * @param $query AbstractObjectType
84
+     * @param ObjectType $query AbstractObjectType
82 85
      *
83 86
      * @return SchemaConfig
84 87
      */
Please login to merge, or discard this patch.
src/Config/Traits/ArgumentsAwareConfigTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -98,6 +98,9 @@
 block discarded – undo
98 98
         return $this->arguments;
99 99
     }
100 100
 
101
+    /**
102
+     * @param string $name
103
+     */
101 104
     public function removeArgument($name)
102 105
     {
103 106
         if ($this->hasArgument($name)) {
Please login to merge, or discard this patch.
src/Config/Traits/FieldsAwareConfigTrait.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @param $name
93
+     * @param string $name
94 94
      *
95 95
      * @return Field
96 96
      */
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
         return $this->fields;
123 123
     }
124 124
 
125
+    /**
126
+     * @param string $name
127
+     */
125 128
     public function removeField($name)
126 129
     {
127 130
         if ($this->hasField($name)) {
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
@@ -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.