@@ -51,6 +51,10 @@ |
||
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; |
@@ -23,6 +23,9 @@ discard block |
||
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 |
||
78 | 81 | } |
79 | 82 | |
80 | 83 | /** |
81 | - * @param $query AbstractObjectType |
|
84 | + * @param ObjectType $query AbstractObjectType |
|
82 | 85 | * |
83 | 86 | * @return SchemaConfig |
84 | 87 | */ |
@@ -98,6 +98,9 @@ |
||
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)) { |
@@ -90,7 +90,7 @@ discard block |
||
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 |
||
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)) { |
@@ -211,6 +211,9 @@ |
||
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; |