Completed
Pull Request — master (#112)
by Phil
03:09
created
src/Parser/Token.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -51,6 +51,10 @@
 block discarded – undo
51 51
     /** @var integer */
52 52
     private $column;
53 53
 
54
+    /**
55
+     * @param integer $line
56
+     * @param integer $column
57
+     */
54 58
     public function __construct($type, $line, $column, $data = null)
55 59
     {
56 60
         $this->type = $type;
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
@@ -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   +3 added lines patch added patch discarded remove patch
@@ -211,6 +211,9 @@
 block discarded – undo
211 211
         return $this;
212 212
     }
213 213
 
214
+    /**
215
+     * @param string $name
216
+     */
214 217
     public function getVariable($name)
215 218
     {
216 219
         return $this->hasVariable($name) ? $this->variables[$name] : null;
Please login to merge, or discard this patch.