We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1482709 commit b948b62Copy full SHA for b948b62
app/code/Magento/CatalogGraphQl/Model/Category/DepthCalculator.php
@@ -26,8 +26,9 @@ public function calculate(FieldNode $fieldNode) : int
26
$depth = count($selections) ? 1 : 0;
27
$childrenDepth = [0];
28
foreach ($selections as $node) {
29
- if ($node->kind === 'InlineFragment'
30
- || null !== $node->alias
+ if (
+ $node->kind === 'InlineFragment'
31
+ || null !== $node->alias
32
) {
33
continue;
34
}
0 commit comments