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 3d55a04 commit 01a9c58Copy full SHA for 01a9c58
app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/CategoryTree.php
@@ -9,7 +9,6 @@
9
10
use Exception;
11
use GraphQL\Language\AST\FieldNode;
12
-
13
use GraphQL\Language\AST\NodeKind;
14
use Iterator;
15
use Magento\Catalog\Api\Data\CategoryInterface;
@@ -29,13 +28,15 @@
29
28
30
/**
31
* Category tree data provider
+ *
32
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
33
*/
34
class CategoryTree
35
{
36
37
* In depth we need to calculate only children nodes, so the first wrapped node should be ignored
38
- const DEPTH_OFFSET = 1;
39
+ private const DEPTH_OFFSET = 1;
40
41
42
* @var CollectionFactory
0 commit comments