@@ -1561,7 +1561,7 @@ |
||
| 1561 | 1561 | * |
| 1562 | 1562 | * plugin.tx_solr.search.query.returnFields |
| 1563 | 1563 | * |
| 1564 | - * @param array $defaultIfEmpty |
|
| 1564 | + * @param string[] $defaultIfEmpty |
|
| 1565 | 1565 | * @return array |
| 1566 | 1566 | */ |
| 1567 | 1567 | public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = []) |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | */ |
| 76 | 76 | public function getResponsibleRootPageIds($table, $uid) |
| 77 | 77 | { |
| 78 | - $cacheKey = 'rootpageids-' . $table . '-'.$uid; |
|
| 78 | + $cacheKey = 'rootpageids-' . $table . '-' . $uid; |
|
| 79 | 79 | $cacheResult = $this->siteRootsCache->get($cacheKey); |
| 80 | 80 | if ($cacheResult !== false) { |
| 81 | 81 | return $cacheResult; |
@@ -241,6 +241,9 @@ |
||
| 241 | 241 | $this->record = $record; |
| 242 | 242 | } |
| 243 | 243 | |
| 244 | + /** |
|
| 245 | + * @return integer |
|
| 246 | + */ |
|
| 244 | 247 | public function getRecordPageId() |
| 245 | 248 | { |
| 246 | 249 | $this->getRecord(); |