@@ -338,7 +338,7 @@ |
||
338 | 338 | * @param string $recordTable |
339 | 339 | * @param integer $recordPageId |
340 | 340 | * @param integer $recordUid |
341 | - * @return mixed |
|
341 | + * @return integer |
|
342 | 342 | */ |
343 | 343 | protected function getConfigurationPageId($recordTable, $recordPageId, $recordUid) |
344 | 344 | { |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use ApacheSolrForTypo3\Solr\Domain\Index\Queue\RecordMonitor\Helper\MountPagesUpdater; |
29 | 29 | use ApacheSolrForTypo3\Solr\Domain\Index\Queue\RecordMonitor\Helper\RootPageResolver; |
30 | 30 | use ApacheSolrForTypo3\Solr\GarbageCollector; |
31 | -use ApacheSolrForTypo3\Solr\Site; |
|
32 | 31 | use ApacheSolrForTypo3\Solr\System\TCA\TCAService; |
33 | 32 | use ApacheSolrForTypo3\Solr\Util; |
34 | 33 | use TYPO3\CMS\Backend\Utility\BackendUtility; |
@@ -347,7 +347,7 @@ |
||
347 | 347 | return $recordPageId; |
348 | 348 | } |
349 | 349 | |
350 | - $alternativeSiteRoots =$this->rootPageResolver->getAlternativeSiteRootPagesIds($recordTable, $recordUid, $recordPageId); |
|
350 | + $alternativeSiteRoots = $this->rootPageResolver->getAlternativeSiteRootPagesIds($recordTable, $recordUid, $recordPageId); |
|
351 | 351 | |
352 | 352 | $lastRootPage = array_pop($alternativeSiteRoots); |
353 | 353 | return empty($lastRootPage) ? 0 : $lastRootPage; |
@@ -107,7 +107,7 @@ |
||
107 | 107 | */ |
108 | 108 | protected function getSiteRootsByObservedPageIds($table, $uid) |
109 | 109 | { |
110 | - $cacheKey = $table.'-'.$uid; |
|
110 | + $cacheKey = $table . '-' . $uid; |
|
111 | 111 | static $siteRootByObservedPageIds = []; |
112 | 112 | if (count($siteRootByObservedPageIds[$cacheKey]) > 0) { |
113 | 113 | return $siteRootByObservedPageIds[$cacheKey]; |
@@ -357,7 +357,6 @@ discard block |
||
357 | 357 | * Returns an array of all additionalPageIds by index configuration name. |
358 | 358 | * |
359 | 359 | * plugin.tx_solr.index.queue.pages.additionalPageIds |
360 | - |
|
361 | 360 | * @param string $configurationName |
362 | 361 | * @param array $defaultIfEmpty |
363 | 362 | * @return array |
@@ -916,7 +915,6 @@ discard block |
||
916 | 915 | * Returns if a log message should be written when a page was indexed. |
917 | 916 | * |
918 | 917 | * plugin.tx_solr.logging.indexing.pageIndexed |
919 | - |
|
920 | 918 | * @param bool $defaultIfEmpty |
921 | 919 | * @return bool |
922 | 920 | */ |
@@ -930,7 +928,6 @@ discard block |
||
930 | 928 | * Returns if a log message should be written when the TYPO3 search markers are missing in the page. |
931 | 929 | * |
932 | 930 | * plugin.tx_solr.logging.indexing.missingTypo3SearchMarkers |
933 | - |
|
934 | 931 | * @param bool $defaultIfEmpty |
935 | 932 | * @return bool |
936 | 933 | */ |
@@ -958,7 +955,6 @@ discard block |
||
958 | 955 | * Indicates if the debug mode is enabled or not. |
959 | 956 | * |
960 | 957 | * plugin.tx_solr.enableDebugMode |
961 | - |
|
962 | 958 | * @param bool $defaultIfEmpty |
963 | 959 | * @return bool |
964 | 960 | */ |