mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-21 20:36:05 +03:00
Expand one letter variable names
This commit is contained in:
parent
65e4488ce8
commit
9ca7bb6ea1
@ -401,7 +401,7 @@ class DeferredFieldsTest extends TestCase
|
||||
return [
|
||||
'sync' => [
|
||||
'type' => Type::string(),
|
||||
'resolve' => function ($v, $a, $c, ResolveInfo $info) {
|
||||
'resolve' => function ($val, $args, $context, ResolveInfo $info) {
|
||||
$this->paths[] = $info->path;
|
||||
|
||||
return 'sync';
|
||||
@ -409,7 +409,7 @@ class DeferredFieldsTest extends TestCase
|
||||
],
|
||||
'deferred' => [
|
||||
'type' => Type::string(),
|
||||
'resolve' => function ($v, $a, $c, ResolveInfo $info) {
|
||||
'resolve' => function ($val, $args, $context, ResolveInfo $info) {
|
||||
$this->paths[] = $info->path;
|
||||
|
||||
return new Deferred(function () use ($info) {
|
||||
@ -421,7 +421,7 @@ class DeferredFieldsTest extends TestCase
|
||||
],
|
||||
'nest' => [
|
||||
'type' => $complexType,
|
||||
'resolve' => function ($v, $a, $c, ResolveInfo $info) {
|
||||
'resolve' => function ($val, $args, $context, ResolveInfo $info) {
|
||||
$this->paths[] = $info->path;
|
||||
|
||||
return [];
|
||||
@ -429,7 +429,7 @@ class DeferredFieldsTest extends TestCase
|
||||
],
|
||||
'deferredNest' => [
|
||||
'type' => $complexType,
|
||||
'resolve' => function ($v, $a, $c, ResolveInfo $info) {
|
||||
'resolve' => function ($val, $args, $context, ResolveInfo $info) {
|
||||
$this->paths[] = $info->path;
|
||||
|
||||
return new Deferred(function () use ($info) {
|
||||
|
Loading…
Reference in New Issue
Block a user