@@ -12,9 +12,6 @@ |
||
| 12 | 12 | use Youshido\GraphQL\Config\Schema\SchemaConfig; |
| 13 | 13 | use Youshido\GraphQL\Execution\ResolveInfo; |
| 14 | 14 | use Youshido\GraphQL\Schema\AbstractSchema; |
| 15 | -use Youshido\GraphQL\Type\NonNullType; |
|
| 16 | -use Youshido\GraphQL\Type\Scalar\IntType; |
|
| 17 | -use Youshido\GraphQL\Type\Scalar\StringType; |
|
| 18 | 15 | |
| 19 | 16 | class TestSchema extends AbstractSchema |
| 20 | 17 | { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | 'args' => [ |
| 42 | 42 | 'noop' => new IntType() |
| 43 | 43 | ], |
| 44 | - 'resolve' => function ($value, $args, $info) { |
|
| 44 | + 'resolve' => function($value, $args, $info) { |
|
| 45 | 45 | return ['address' => '1234 Street']; |
| 46 | 46 | } |
| 47 | 47 | ] |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | 'args' => [ |
| 53 | 53 | 'value' => new NonNullType(new StringType()) |
| 54 | 54 | ], |
| 55 | - 'resolve' => function ($value, $args, $info) { |
|
| 55 | + 'resolve' => function($value, $args, $info) { |
|
| 56 | 56 | return $args['value']; |
| 57 | 57 | } |
| 58 | 58 | ] |