@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | 'fields' => [ |
104 | 104 | 'user' => [ |
105 | 105 | 'type' => new UserType(), |
106 | - 'resolve' => function ($args) { |
|
106 | + 'resolve' => function($args) { |
|
107 | 107 | return [ |
108 | 108 | 'id' => 'user-id-1', |
109 | 109 | 'fullName' => 'Alex', |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | 'fields' => [ |
218 | 218 | 'user' => [ |
219 | 219 | 'type' => new UserType(), |
220 | - 'resolve' => function ($args) { |
|
220 | + 'resolve' => function($args) { |
|
221 | 221 | return [ |
222 | 222 | 'id' => 'user-id-1', |
223 | 223 | 'fullName' => 'Alex', |