Completed
Pull Request — master (#944)
by Timo
27:13
created
Classes/IndexQueue/RecordMonitor.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -338,7 +338,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -347,7 +347,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Classes/Domain/Index/Queue/RecordMonitor/Helper/RootPageResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
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];
Please login to merge, or discard this patch.
Classes/System/Configuration/TypoScriptConfiguration.php 1 patch
Indentation   -4 removed lines patch added patch discarded remove patch
@@ -357,7 +357,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.