@@ -32,13 +32,13 @@ |
||
32 | 32 | [ |
33 | 33 | 'name' => $definition->getName(), |
34 | 34 | 'description' => $definition->getDescription(), |
35 | - 'fields' => function () use ($definition) { |
|
35 | + 'fields' => function() use ($definition) { |
|
36 | 36 | return GraphQLBuilder::resolveFields($definition); |
37 | 37 | }, |
38 | - 'interfaces' => function () use ($definition) { |
|
38 | + 'interfaces' => function() use ($definition) { |
|
39 | 39 | return $this->resolveInterfaces($definition); |
40 | 40 | }, |
41 | - 'resolveField' => function ($root, array $args, ResolverContext $context, ResolveInfo $resolveInfo) use ($definition) { |
|
41 | + 'resolveField' => function($root, array $args, ResolverContext $context, ResolveInfo $resolveInfo) use ($definition) { |
|
42 | 42 | $resolver = new ObjectFieldResolver($this->container); |
43 | 43 | $context = ContextBuilder::create($context->getEndpoint()) |
44 | 44 | ->setRoot($root) |
@@ -46,10 +46,10 @@ |
||
46 | 46 | [ |
47 | 47 | 'name' => $definition->getName(), |
48 | 48 | 'description' => $definition->getDescription(), |
49 | - 'fields' => function () use ($definition) { |
|
49 | + 'fields' => function() use ($definition) { |
|
50 | 50 | return GraphQLBuilder::resolveFields($definition); |
51 | 51 | }, |
52 | - 'resolveField' => function ($root, array $args, ResolverContext $context, ResolveInfo $resolveInfo) use ($definition) { |
|
52 | + 'resolveField' => function($root, array $args, ResolverContext $context, ResolveInfo $resolveInfo) use ($definition) { |
|
53 | 53 | $resolver = new ObjectFieldResolver($this->container); |
54 | 54 | $context = ContextBuilder::create($context->getEndpoint()) |
55 | 55 | ->setRoot($root) |