Skip to content

Commit f1e5f94

Browse files
RachanaRachana
authored andcommitted
BUG#AC-6666:fixed for static failure
1 parent 8bf61d1 commit f1e5f94

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Product/ProductFieldsSelector.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ public function getProductFieldsFromInfo(ResolveInfo $info, string $productNodeN
5252
if ($node->name->value !== $productNodeName) {
5353
continue;
5454
}
55-
foreach ($node->selectionSet->selections as $selectionNode) {
5655
$queryFields = $this->attributesJoiner->getQueryFields($node, $info);
5756
$fieldNames = array_merge($fieldNames, $queryFields);
5857
}
59-
}
6058

6159
return $fieldNames;
6260
}

0 commit comments

Comments
 (0)