Skip to content

Commit 28f9faf

Browse files
committed
MC-21542: Category query does not handle disabled children properly
- fix static
1 parent e883f0e commit 28f9faf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/ExtractDataFromCategoryTree.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public function execute(\Iterator $iterator): array
7878
*
7979
* @param CategoryInterface $currentCategory
8080
* @param CategoryInterface $rootCategory
81-
* @param $categoriesArray
81+
* @param array $categoriesArray
82+
* @return bool
8283
*/
8384
private function areParentsActive(
8485
CategoryInterface $currentCategory,

0 commit comments

Comments
 (0)