Skip to content

Commit b45c3c8

Browse files
committed
TASK: Some docblock @throws tweaks in NodeIndexer
1 parent 635b9f0 commit b45c3c8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Classes/Indexer/NodeIndexer.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ class NodeIndexer extends AbstractNodeIndexer implements BulkNodeIndexerInterfac
125125
* Returns the index name to be used for indexing, with optional indexNamePostfix appended.
126126
*
127127
* @return string
128+
* @throws Exception
128129
*/
129130
public function getIndexName()
130131
{
@@ -151,6 +152,7 @@ public function setIndexNamePostfix($indexNamePostfix)
151152
* Return the currently active index to be used for indexing
152153
*
153154
* @return Index
155+
* @throws Exception
154156
*/
155157
public function getIndex()
156158
{
@@ -166,7 +168,6 @@ public function getIndex()
166168
* @param NodeInterface $node
167169
* @param string $targetWorkspaceName In case indexing is triggered during publishing, a target workspace name will be passed in
168170
* @return void
169-
* @throws \Neos\ContentRepository\Search\Exception\IndexingException
170171
*/
171172
public function indexNode(NodeInterface $node, $targetWorkspaceName = null)
172173
{
@@ -310,6 +311,7 @@ public function removeNode(NodeInterface $node, $targetWorkspaceName = null)
310311
* Perform the current bulk request
311312
*
312313
* @return void
314+
* @throws Exception
313315
*/
314316
public function flush()
315317
{
@@ -354,7 +356,6 @@ public function flush()
354356
* @return void
355357
* @throws Exception
356358
* @throws ApiException
357-
* @throws \Exception
358359
*/
359360
public function updateIndexAlias()
360361
{
@@ -406,6 +407,7 @@ public function updateIndexAlias()
406407
* making the "old" index a stale one).
407408
*
408409
* @return array<string> a list of index names which were removed
410+
* @throws Exception
409411
*/
410412
public function removeOldIndices()
411413
{

0 commit comments

Comments
 (0)