@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | public function testInternalVariableArgument() |
| 17 | 17 | { |
| 18 | - $schema = new Schema([ |
|
| 18 | + $schema = new Schema([ |
|
| 19 | 19 | 'query' => new ObjectType([ |
| 20 | 20 | 'name' => 'RootQuery', |
| 21 | 21 | 'fields' => [ |
@@ -32,10 +32,10 @@ discard block |
||
| 32 | 32 | 'args' => [ |
| 33 | 33 | 'size' => new NonNullType(new IntType()), |
| 34 | 34 | ], |
| 35 | - 'resolve' => function ($source, $args) { |
|
| 35 | + 'resolve' => function($source, $args) { |
|
| 36 | 36 | $res = []; |
| 37 | 37 | foreach (range(1, $args['size']) as $i) { |
| 38 | - $res[] = 'Cursor #' . $i; |
|
| 38 | + $res[] = 'Cursor #'.$i; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | return $res; |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | 'args' => [ |
| 49 | 49 | 'first' => new IntType(), |
| 50 | 50 | ], |
| 51 | - 'resolve' => function () { |
|
| 51 | + 'resolve' => function() { |
|
| 52 | 52 | return [ |
| 53 | 53 | 'pageInfo' => [ |
| 54 | 54 | 'totalEdges' => 10, |