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.
2 parents eec77a6 + 16c64a8 commit c93a323Copy full SHA for c93a323
Model/Indexer/AsyncEventSubscriber.php
@@ -76,8 +76,8 @@ public function __construct(
76
private readonly ElasticsearchFactory $adapterFactory,
77
private readonly AsyncEventLogMapper $loggerMapper,
78
private readonly array $data,
79
- int $batchSize = null,
80
- DeploymentConfig $deploymentConfig = null
+ ?int $batchSize = null,
+ ?DeploymentConfig $deploymentConfig = null
81
) {
82
$this->batchSize = $batchSize ?? self::BATCH_SIZE;
83
$this->deploymentConfig = $deploymentConfig ?: ObjectManager::getInstance()->get(DeploymentConfig::class);
0 commit comments