@@ -26,7 +26,7 @@ |
||
26 | 26 | ->addField('type', new QueryType(), [ |
27 | 27 | 'resolve' => function($value, $args) { |
28 | 28 | /** @var $value Field */ |
29 | - if($value->getType() instanceof AbstractMutationType) { |
|
29 | + if ($value->getType() instanceof AbstractMutationType) { |
|
30 | 30 | return $value->getType()->getOutputType(); |
31 | 31 | } |
32 | 32 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Date: 16.12.15 |
|
4 | - * |
|
5 | - * @author Portey Vasil <[email protected]> |
|
6 | - */ |
|
3 | + * Date: 16.12.15 |
|
4 | + * |
|
5 | + * @author Portey Vasil <[email protected]> |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace Youshido\Tests\Type\Union\Schema; |
9 | 9 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Date: 14.01.16 |
|
4 | - * |
|
5 | - * @author Portey Vasil <[email protected]> |
|
6 | - */ |
|
3 | + * Date: 14.01.16 |
|
4 | + * |
|
5 | + * @author Portey Vasil <[email protected]> |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace Youshido\GraphQL\Type\Object; |
9 | 9 |
@@ -20,7 +20,7 @@ |
||
20 | 20 | foreach (TypeMap::getScalarTypes() as $typeName) { |
21 | 21 | $typeName = ucfirst($typeName); |
22 | 22 | if ($typeName == 'Datetime') { |
23 | - $className = 'Youshido\GraphQL\Type\Scalar\DateTimeType';// : ; |
|
23 | + $className = 'Youshido\GraphQL\Type\Scalar\DateTimeType'; // : ; |
|
24 | 24 | } elseif ($typeName == 'Datetimetz') { |
25 | 25 | $className = 'Youshido\GraphQL\Type\Scalar\DateTimeTzType'; |
26 | 26 | } else { |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Date: 23.11.15 |
|
4 | - * |
|
5 | - * @author Portey Vasil <[email protected]> |
|
6 | - */ |
|
3 | + * Date: 23.11.15 |
|
4 | + * |
|
5 | + * @author Portey Vasil <[email protected]> |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | namespace Youshido\GraphQL; |
9 | 9 |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | /** |
257 | 257 | * @param $objectType InputObjectType|ObjectType |
258 | 258 | * @param $query Mutation|Query |
259 | - * @return null |
|
259 | + * @return boolean |
|
260 | 260 | */ |
261 | 261 | private function checkFieldExist($objectType, $query) |
262 | 262 | { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | /** |
279 | 279 | * @param $value |
280 | 280 | * @param $query QueryField |
281 | - * @param $field Field |
|
281 | + * @param Field $field Field |
|
282 | 282 | * |
283 | 283 | * @throws \Exception |
284 | 284 | * |
@@ -313,7 +313,7 @@ discard block |
||
313 | 313 | } |
314 | 314 | |
315 | 315 | /** |
316 | - * @param $field Field |
|
316 | + * @param Field $field Field |
|
317 | 317 | * @param $contextValue mixed |
318 | 318 | * @param $query Query |
319 | 319 | * |