Skip to content

Commit dacac78

Browse files
committed
TASK: Two small tweaks to the NodeIndexer
- adjusts a parameter comment to be more clear - removes the use of two extraneous method parameters
1 parent fd22bb4 commit dacac78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Classes/Indexer/NodeIndexer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function getIndex()
155155
* Index this node, and add it to the current bulk request.
156156
*
157157
* @param NodeInterface $node
158-
* @param string $targetWorkspaceName In case this is triggered during publishing, a workspace name will be passed in
158+
* @param string $targetWorkspaceName In case indexing is triggered during publishing, a target workspace name will be passed in
159159
* @return void
160160
* @throws \TYPO3\TYPO3CR\Search\Exception\IndexingException
161161
*/
@@ -214,7 +214,7 @@ public function indexNode(NodeInterface $node, $targetWorkspaceName = null)
214214
}
215215

216216
if ($this->isFulltextEnabled($node)) {
217-
$this->currentBulkRequest[] = $this->indexerDriver->document($this->getIndexName(), $node, $document, $documentData, $fulltextIndexOfNode, $targetWorkspaceName);
217+
$this->currentBulkRequest[] = $this->indexerDriver->document($this->getIndexName(), $node, $document, $documentData);
218218
$this->currentBulkRequest[] = $this->indexerDriver->fulltext($node, $fulltextIndexOfNode, $targetWorkspaceName);
219219
}
220220

0 commit comments

Comments
 (0)