Skip to content

Commit 1848e92

Browse files
committed
TASK: Fix styleCi complains
1 parent f81ebc9 commit 1848e92

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

Classes/Indexer/NodeIndexer.php

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null): voi
266266
$this->logger->debug(sprintf('Property "%s" not indexed because no configuration found, node type %s.', $propertyName, $node->getNodeType()->getName()), LogEnvironment::fromMethodName(__METHOD__));
267267
});
268268

269-
$document = new ElasticSearchDocument($mappingType,
269+
$document = new ElasticSearchDocument(
270+
$mappingType,
270271
$nodePropertiesToBeStoredInIndex,
271272
$documentIdentifier
272273
);
@@ -443,9 +444,13 @@ public function flush(): void
443444
return;
444445
}
445446

446-
$this->logger->debug(vsprintf('Flush bulk request, elements=%d, maximumElements=%s, octets=%d, maximumOctets=%d',
447-
[$bulkRequestSize, $this->batchSize['elements'], $this->bulkRequestSize(), $this->batchSize['octets']]),
448-
LogEnvironment::fromMethodName(__METHOD__));
447+
$this->logger->debug(
448+
vsprintf(
449+
'Flush bulk request, elements=%d, maximumElements=%s, octets=%d, maximumOctets=%d',
450+
[$bulkRequestSize, $this->batchSize['elements'], $this->bulkRequestSize(), $this->batchSize['octets']]
451+
),
452+
LogEnvironment::fromMethodName(__METHOD__)
453+
);
449454

450455
$payload = [];
451456
/** @var BulkRequestPart $bulkRequestPart */

0 commit comments

Comments
 (0)