@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | /** |
252 | 252 | * Resets all the errors for all index queue items. |
253 | 253 | * |
254 | - * @return mixed |
|
254 | + * @return integer |
|
255 | 255 | */ |
256 | 256 | public function resetAllErrors() |
257 | 257 | { |
@@ -297,7 +297,7 @@ discard block |
||
297 | 297 | * different value for non-database-record types. |
298 | 298 | * @param string $additionalRecordFields for sql-query |
299 | 299 | * |
300 | - * @return array|NULL |
|
300 | + * @return string |
|
301 | 301 | */ |
302 | 302 | protected function getRecordCached($itemType, $itemUid, $additionalRecordFields) |
303 | 303 | { |
@@ -598,7 +598,7 @@ discard block |
||
598 | 598 | * Marks an item as failed and causes the indexer to skip the item in the |
599 | 599 | * next run. |
600 | 600 | * |
601 | - * @param int|Item $item Either the item's Index Queue uid or the complete item |
|
601 | + * @param Item $item Either the item's Index Queue uid or the complete item |
|
602 | 602 | * @param string $errorMessage Error message |
603 | 603 | */ |
604 | 604 | public function markItemAsFailed($item, $errorMessage = '') |
@@ -388,7 +388,7 @@ |
||
388 | 388 | 'items', |
389 | 389 | (string)$queryBuilderForDeletingProperties->expr()->andX( |
390 | 390 | $queryBuilderForDeletingProperties->expr()->eq('items.uid', $queryBuilderForDeletingProperties->quoteIdentifier('properties.item_id')), |
391 | - $queryBuilderForDeletingProperties->expr()->eq('items.root' , $site->getRootPageId()), |
|
391 | + $queryBuilderForDeletingProperties->expr()->eq('items.root', $site->getRootPageId()), |
|
392 | 392 | empty($indexingConfigurationName) ? '' : $queryBuilderForDeletingProperties->expr()->eq( |
393 | 393 | 'items.indexing_configuration', $queryBuilderForDeletingProperties->createNamedParameter($indexingConfigurationName) |
394 | 394 | ) |