@@ -43,7 +43,7 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | public function getResolveCallback(): ?callable |
| 45 | 45 | { |
| 46 | - return function ($fieldName) { |
|
| 46 | + return function($fieldName) { |
|
| 47 | 47 | $resolver = $this->getResolver($fieldName); |
| 48 | 48 | |
| 49 | 49 | if ($resolver instanceof ResolverInterface) { |
@@ -106,8 +106,8 @@ |
||
| 106 | 106 | { |
| 107 | 107 | return \array_reduce( |
| 108 | 108 | $middleware, |
| 109 | - function (callable $resolveCallback, ResolverMiddlewareInterface $middleware) { |
|
| 110 | - return function ($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) use ( |
|
| 109 | + function(callable $resolveCallback, ResolverMiddlewareInterface $middleware) { |
|
| 110 | + return function($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) use ( |
|
| 111 | 111 | $resolveCallback, |
| 112 | 112 | $middleware |
| 113 | 113 | ) { |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | public function getResolveCallback(): ?callable |
| 30 | 30 | { |
| 31 | - return function ($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) { |
|
| 31 | + return function($rootValue, array $args, $contextValues = null, ?ResolveInfo $info = null) { |
|
| 32 | 32 | return $this->resolve(...\func_get_args()); |
| 33 | 33 | }; |
| 34 | 34 | } |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | */ |
| 39 | 39 | public function getTypeResolver(): ?callable |
| 40 | 40 | { |
| 41 | - return function ($rootValue, $contextValues = null, ?ResolveInfo $info = null) { |
|
| 41 | + return function($rootValue, $contextValues = null, ?ResolveInfo $info = null) { |
|
| 42 | 42 | return $this->resolveType(...\func_get_args()); |
| 43 | 43 | }; |
| 44 | 44 | } |