Skip to content

Commit 7ba74d4

Browse files
committed
ACP2E-1875: [Magento Cloud] Products incorrectly showed Out of Stock then all products show in stock
- addressed static
1 parent 472993c commit 7ba74d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Elasticsearch/Model/Indexer/IndexerHandler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121

2222
/**
2323
* Indexer Handler for Elasticsearch engine.
24+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2425
*/
2526
class IndexerHandler implements IndexerInterface
2627
{
2728
/**
2829
* Size of default batch
2930
*/
30-
const DEFAULT_BATCH_SIZE = 500;
31+
public const DEFAULT_BATCH_SIZE = 500;
3132

3233
/**
3334
* @var IndexStructureInterface
@@ -98,6 +99,7 @@ class IndexerHandler implements IndexerInterface
9899
* @param DeploymentConfig|null $deploymentConfig
99100
* @param CacheContext|null $cacheContext
100101
* @param Processor|null $processor
102+
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
101103
*/
102104
public function __construct(
103105
IndexStructureInterface $indexStructure,

0 commit comments

Comments
 (0)