@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | { |
20 | 20 | |
21 | 21 | |
22 | - $schema = new Schema([ |
|
22 | + $schema = new Schema([ |
|
23 | 23 | 'query' => new ObjectType([ |
24 | 24 | 'name' => 'RootQuery', |
25 | 25 | 'fields' => [ |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | ] |
48 | 48 | ])) |
49 | 49 | ], |
50 | - 'resolve' => function ($source, $args) { |
|
50 | + 'resolve' => function($source, $args) { |
|
51 | 51 | return [ |
52 | 52 | 'id' => '1', |
53 | 53 | 'name' => sprintf('Meeting with %d beans', count($args['related_beans'])), |