@@ -117,6 +117,9 @@ |
||
117 | 117 | return $type instanceof AbstractInputObjectType; |
118 | 118 | } |
119 | 119 | |
120 | + /** |
|
121 | + * @return \Youshido\GraphQL\Execution\ResolveInfo |
|
122 | + */ |
|
120 | 123 | public static function getPropertyValue($data, $path) |
121 | 124 | { |
122 | 125 | if (is_object($data)) { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * @param Field $objField |
58 | 58 | * @param AbstractInterfaceType $interface |
59 | 59 | * |
60 | - * @return bool |
|
60 | + * @return boolean|null |
|
61 | 61 | * |
62 | 62 | * @throws ConfigurationException |
63 | 63 | */ |
@@ -16,13 +16,16 @@ |
||
16 | 16 | { |
17 | 17 | |
18 | 18 | /** |
19 | - * @return AbstractObjectType |
|
19 | + * @return IntType |
|
20 | 20 | */ |
21 | 21 | public function getType() |
22 | 22 | { |
23 | 23 | return new IntType(); |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $value |
|
28 | + */ |
|
26 | 29 | public function resolve($value, array $args, ResolveInfo $info) |
27 | 30 | { |
28 | 31 | return $value; |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | |
18 | 18 | /** |
19 | - * @return AbstractInputObjectType |
|
19 | + * @return IntType |
|
20 | 20 | */ |
21 | 21 | public function getType() |
22 | 22 | { |