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 9bdb36f commit 11494edCopy full SHA for 11494ed
app/code/Magento/CatalogGraphQl/Model/Category/DepthCalculator.php
@@ -80,7 +80,7 @@ private function addInlineFragmentDepth(
80
foreach ($selections as $field) {
81
if ($field->kind === NodeKind::INLINE_FRAGMENT) {
82
$depth[] = $this->addInlineFragmentDepth($resolveInfo, $field, $depth);
83
- } elseif (isset($field->selectionSet) && $field->selectionSet->selections) {
+ } elseif ($field->selectionSet && $field->selectionSet->selections) {
84
$depth[] = $this->calculate($resolveInfo, $field);
85
}
86
0 commit comments