@@ -47,10 +47,10 @@ |
||
| 47 | 47 | [ |
| 48 | 48 | 'name' => $definition->getName(), |
| 49 | 49 | 'description' => $definition->getDescription(), |
| 50 | - 'fields' => function () { |
|
| 50 | + 'fields' => function() { |
|
| 51 | 51 | return $this->resolveFields(); |
| 52 | 52 | }, |
| 53 | - 'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) { |
|
| 53 | + 'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) { |
|
| 54 | 54 | $resolver = new ObjectFieldResolver($this->container, $this->endpoint, $this->definition, $this->container->get(DeferredBuffer::class)); |
| 55 | 55 | |
| 56 | 56 | return $resolver($root, $args, $context, $resolveInfo); |
@@ -38,18 +38,18 @@ |
||
| 38 | 38 | [ |
| 39 | 39 | 'name' => $definition->getName(), |
| 40 | 40 | 'description' => $definition->getDescription(), |
| 41 | - 'fields' => function () { |
|
| 41 | + 'fields' => function() { |
|
| 42 | 42 | return $this->resolveFields(); |
| 43 | 43 | }, |
| 44 | - 'interfaces' => function () { |
|
| 44 | + 'interfaces' => function() { |
|
| 45 | 45 | return $this->resolveInterfaces(); |
| 46 | 46 | }, |
| 47 | - 'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) { |
|
| 47 | + 'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) { |
|
| 48 | 48 | $resolver = new ObjectFieldResolver($this->container, $this->endpoint, $this->definition, $this->container->get(DeferredBuffer::class)); |
| 49 | 49 | |
| 50 | 50 | return $resolver($root, $args, $context, $resolveInfo); |
| 51 | 51 | }, |
| 52 | - 'isTypeOf' => function ($value, $context, ResolveInfo $info) { |
|
| 52 | + 'isTypeOf' => function($value, $context, ResolveInfo $info) { |
|
| 53 | 53 | //TODO: implement this |
| 54 | 54 | }, |
| 55 | 55 | ] |