@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | * different value for non-database-record types. |
379 | 379 | * @param string $additionalRecordFields for sql-query |
380 | 380 | * |
381 | - * @return array|NULL |
|
381 | + * @return string |
|
382 | 382 | */ |
383 | 383 | protected function getRecordCached($itemType, $itemUid, $additionalRecordFields) |
384 | 384 | { |
@@ -925,7 +925,7 @@ discard block |
||
925 | 925 | * Marks an item as failed and causes the indexer to skip the item in the |
926 | 926 | * next run. |
927 | 927 | * |
928 | - * @param int|Item $item Either the item's Index Queue |
|
928 | + * @param Item $item Either the item's Index Queue |
|
929 | 929 | * uid or the complete item |
930 | 930 | * @param string $errorMessage Error message |
931 | 931 | */ |
@@ -75,7 +75,7 @@ |
||
75 | 75 | */ |
76 | 76 | public function getResponsibleRootPageIds($table, $uid) |
77 | 77 | { |
78 | - $cacheId = 'RootPageResolver' . '_' . 'getResponsibleRootPageIds' . '_' . $table . '_'.$uid; |
|
78 | + $cacheId = 'RootPageResolver' . '_' . 'getResponsibleRootPageIds' . '_' . $table . '_' . $uid; |
|
79 | 79 | $methodResult = $this->runtimeCache->get($cacheId); |
80 | 80 | if (!empty($methodResult)) { |
81 | 81 | return $methodResult; |