Skip to content

Commit cf779ec

Browse files
ruudkspawnia
authored andcommitted
Remove redundant lines in ReferenceExecutor
Somehow this was added in #1548 but I fail to see why. Let's remove it. This might be the cause for the performance degradation reported in #1548.
1 parent 121e250 commit cf779ec

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Executor/ReferenceExecutor.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,9 +1350,6 @@ protected function executeFields(ObjectType $parentType, $rootValue, array $path
13501350
$containsPromise = false;
13511351
$results = [];
13521352
foreach ($fields as $responseName => $fieldNodes) {
1353-
$fieldNodes = $fields[$responseName];
1354-
assert($fieldNodes instanceof \ArrayObject, 'The keys of $fields populate $responseName');
1355-
13561353
$fieldPath = $path;
13571354
$fieldPath[] = $responseName;
13581355

0 commit comments

Comments
 (0)