Passed
Pull Request — master (#1587)
by
unknown
04:30
created
Classes/IndexQueue/Queue.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 = '')
Please login to merge, or discard this patch.
Classes/Domain/Index/Queue/QueueItemRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -388,7 +388,7 @@
 block discarded – undo
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
                     )
Please login to merge, or discard this patch.