@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $previousResolver = $fieldValue->getResolver(); |
| 44 | 44 | |
| 45 | 45 | // Wrap around the resolver |
| 46 | - $wrappedResolver = function ($root, array $args, GraphQLContext $context, ResolveInfo $info) use ($previousResolver): string { |
|
| 46 | + $wrappedResolver = function($root, array $args, GraphQLContext $context, ResolveInfo $info) use ($previousResolver): string { |
|
| 47 | 47 | error_log("xxxxxx"); |
| 48 | 48 | |
| 49 | 49 | // Call the resolver, passing along the resolver arguments |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | */ |
| 47 | 47 | public static function scalars(array $datatypes, string $ns): array |
| 48 | 48 | { |
| 49 | - $graphql = [ '# File automatically generated by Modelarium on ' . date('c') . "\n\n" ]; |
|
| 49 | + $graphql = ['# File automatically generated by Modelarium on ' . date('c') . "\n\n"]; |
|
| 50 | 50 | |
| 51 | 51 | foreach ($datatypes as $name) { |
| 52 | 52 | $typeName = Str::studly($name); |