ReferenceExecutor: Remove excessive arguments

This commit is contained in:
Vladimir Razuvaev 2018-11-21 18:54:11 +07:00
parent b4be42acdf
commit 779774b162

View File

@ -1105,7 +1105,6 @@ class ReferenceExecutor implements ExecutorImplementation
return $promise->then(function ($isTypeOfResult) use (
$returnType,
$fieldNodes,
$info,
$path,
&$result
) {
@ -1115,7 +1114,6 @@ class ReferenceExecutor implements ExecutorImplementation
return $this->collectAndExecuteSubfields(
$returnType,
$fieldNodes,
$info,
$path,
$result
);
@ -1128,7 +1126,6 @@ class ReferenceExecutor implements ExecutorImplementation
return $this->collectAndExecuteSubfields(
$returnType,
$fieldNodes,
$info,
$path,
$result
);
@ -1163,7 +1160,6 @@ class ReferenceExecutor implements ExecutorImplementation
private function collectAndExecuteSubfields(
ObjectType $returnType,
$fieldNodes,
ResolveInfo $info,
$path,
&$result
) {