@@ -595,7 +595,6 @@ discard block |
||
| 595 | 595 | * |
| 596 | 596 | * plugin.tx_solr.index.queue.<configurationName>.initialPagesAdditionalWhereClause |
| 597 | 597 | * |
| 598 | - * @param string $defaultIfEmpty |
|
| 599 | 598 | * |
| 600 | 599 | * @return string |
| 601 | 600 | * |
@@ -675,7 +674,7 @@ discard block |
||
| 675 | 674 | * |
| 676 | 675 | * @param string $configurationName |
| 677 | 676 | * @param string $defaultIfEmpty |
| 678 | - * @return mixed |
|
| 677 | + * @return string |
|
| 679 | 678 | */ |
| 680 | 679 | public function getIndexQueueInitializerClassByConfigurationName($configurationName, $defaultIfEmpty = Record::class) |
| 681 | 680 | { |
@@ -1501,7 +1500,7 @@ discard block |
||
| 1501 | 1500 | * plugin.tx_solr.search.query.allowEmptyQuery |
| 1502 | 1501 | * |
| 1503 | 1502 | * @param string $defaultIfEmpty |
| 1504 | - * @return string |
|
| 1503 | + * @return boolean |
|
| 1505 | 1504 | */ |
| 1506 | 1505 | public function getSearchQueryAllowEmptyQuery($defaultIfEmpty = '') |
| 1507 | 1506 | { |
@@ -1563,7 +1562,7 @@ discard block |
||
| 1563 | 1562 | * |
| 1564 | 1563 | * plugin.tx_solr.search.query.returnFields |
| 1565 | 1564 | * |
| 1566 | - * @param array $defaultIfEmpty |
|
| 1565 | + * @param string[] $defaultIfEmpty |
|
| 1567 | 1566 | * @return array |
| 1568 | 1567 | */ |
| 1569 | 1568 | public function getSearchQueryReturnFieldsAsArray($defaultIfEmpty = []) |
@@ -2148,7 +2147,7 @@ discard block |
||
| 2148 | 2147 | * plugin.tx_solr.index.enableCommits |
| 2149 | 2148 | * |
| 2150 | 2149 | * @param bool $defaultIfEmpty |
| 2151 | - * @return bool |
|
| 2150 | + * @return boolean|null |
|
| 2152 | 2151 | */ |
| 2153 | 2152 | public function getEnableCommits($defaultIfEmpty = true) |
| 2154 | 2153 | { |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | { |
| 256 | 256 | /** @var $registry Registry */ |
| 257 | 257 | $registry = GeneralUtility::makeInstance(Registry::class); |
| 258 | - $servers = (array) $registry->get('tx_solr', 'servers', []); |
|
| 258 | + $servers = (array)$registry->get('tx_solr', 'servers', []); |
|
| 259 | 259 | return $servers; |
| 260 | 260 | } |
| 261 | 261 | |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | $recursionRootPageId = intval($rootPageId); |
| 340 | 340 | if ($rootPageId == 'SITE_ROOT') { |
| 341 | 341 | $recursionRootPageId = $this->rootPage['uid']; |
| 342 | - $pageIds[] = (int) $this->rootPage['uid']; |
|
| 342 | + $pageIds[] = (int)$this->rootPage['uid']; |
|
| 343 | 343 | } |
| 344 | 344 | |
| 345 | 345 | if ($maxDepth <= 0) { |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'pages', 'pid = ' . $recursionRootPageId . ' ' . BackendUtility::deleteClause('pages') . $initialPagesAdditionalWhereClause); |
| 382 | 382 | |
| 383 | 383 | while ($page = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
| 384 | - $pageIds[] = (int) $page['uid']; |
|
| 384 | + $pageIds[] = (int)$page['uid']; |
|
| 385 | 385 | |
| 386 | 386 | if ($maxDepth > 1) { |
| 387 | 387 | $pageIds = array_merge($pageIds, $this->getPages($page['uid'], $maxDepth - 1)); |
@@ -25,7 +25,6 @@ |
||
| 25 | 25 | ***************************************************************/ |
| 26 | 26 | |
| 27 | 27 | use ApacheSolrForTypo3\Solr\IndexQueue\Queue; |
| 28 | -use ApacheSolrForTypo3\Solr\System\Configuration\ConfigurationManager; |
|
| 29 | 28 | use ApacheSolrForTypo3\Solr\System\TCA\TCAService; |
| 30 | 29 | use TYPO3\CMS\Backend\Utility\BackendUtility; |
| 31 | 30 | use TYPO3\CMS\Core\DataHandling\DataHandler; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use ApacheSolrForTypo3\Solr\AbstractDataHandlerListener; |
| 28 | 28 | use ApacheSolrForTypo3\Solr\Domain\Index\Queue\RecordMonitor\Helper\MountPagesUpdater; |
| 29 | 29 | use ApacheSolrForTypo3\Solr\GarbageCollector; |
| 30 | -use ApacheSolrForTypo3\Solr\System\Configuration\ConfigurationManager; |
|
| 31 | 30 | use ApacheSolrForTypo3\Solr\System\TCA\TCAService; |
| 32 | 31 | use ApacheSolrForTypo3\Solr\Util; |
| 33 | 32 | use TYPO3\CMS\Backend\Utility\BackendUtility; |