@@ -49,7 +49,7 @@ |
||
49 | 49 | * This method decides if the condition is true or false |
50 | 50 | * |
51 | 51 | * @param array $arguments ViewHelper arguments to evaluate the condition for this ViewHelper. |
52 | - * @return bool |
|
52 | + * @return double |
|
53 | 53 | */ |
54 | 54 | protected static function evaluateCondition($arguments = null) |
55 | 55 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | { |
81 | 81 | /** @var $service \TYPO3\CMS\Extbase\Service\FlexFormService::class */ |
82 | 82 | $service = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Service\FlexFormService::class); |
83 | - $this->flexformData = $service->convertFlexFormContentToArray($contentElement['pi_flexform']); |
|
83 | + $this->flexformData = $service->convertFlexFormContentToArray($contentElement['pi_flexform']); |
|
84 | 84 | $this->pluginContentElement = $contentElement; |
85 | 85 | } |
86 | 86 |
@@ -219,7 +219,7 @@ |
||
219 | 219 | public function getIncludeInUsedFacets() |
220 | 220 | { |
221 | 221 | |
222 | - return ((int) $this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1; |
|
222 | + return ((int)$this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1; |
|
223 | 223 | } |
224 | 224 | |
225 | 225 | /** |
@@ -53,9 +53,9 @@ |
||
53 | 53 | */ |
54 | 54 | public function initializeView(ViewInterface $view) |
55 | 55 | { |
56 | - if($view instanceof TemplateView) { |
|
56 | + if ($view instanceof TemplateView) { |
|
57 | 57 | $customTemplate = $this->getCustomTemplateFromConfiguration(); |
58 | - if($customTemplate === '') { |
|
58 | + if ($customTemplate === '') { |
|
59 | 59 | return; |
60 | 60 | } |
61 | 61 | $view->setTemplatePathAndFilename($customTemplate); |
@@ -187,7 +187,7 @@ |
||
187 | 187 | } |
188 | 188 | if ($this->extensionConfiguration->getIsUseConfigurationTrackRecordsOutsideSiteroot()) { |
189 | 189 | $recordPageId = $this->getRecordPageId($table, $uid); |
190 | - if($recordPageId === 0) { |
|
190 | + if ($recordPageId === 0) { |
|
191 | 191 | return $rootPages; |
192 | 192 | } |
193 | 193 | $alternativeSiteRoots = $this->getAlternativeSiteRootPagesIds($table, $uid, $recordPageId); |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * The TYPO3 project - inspiring people to share! |
15 | 15 | */ |
16 | 16 | |
17 | -use ApacheSolrForTypo3\Solr\Domain\Search\LastSearches\LastSearchesService; |
|
18 | 17 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetRegistry; |
19 | 18 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Sorting\Sorting; |
20 | 19 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Spellchecking\Suggestion; |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet; |
29 | 29 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSetProcessor; |
30 | 30 | use ApacheSolrForTypo3\Solr\Query; |
31 | -use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
|
32 | 31 | use ApacheSolrForTypo3\Solr\HtmlContentExtractor; |
33 | 32 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
34 | 33 |
@@ -24,9 +24,7 @@ |
||
24 | 24 | * This copyright notice MUST APPEAR in all copies of the script! |
25 | 25 | ***************************************************************/ |
26 | 26 | |
27 | -use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetQueryBuilderRegistry; |
|
28 | 27 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetRegistry; |
29 | -use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetUrlDecoderRegistry; |
|
30 | 28 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequest; |
31 | 29 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequestAware; |
32 | 30 | use ApacheSolrForTypo3\Solr\Query; |
@@ -25,7 +25,6 @@ |
||
25 | 25 | ***************************************************************/ |
26 | 26 | |
27 | 27 | use ApacheSolrForTypo3\Solr\Search\FacetsModifier; |
28 | -use ApacheSolrForTypo3\Solr\Search\SearchAware; |
|
29 | 28 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
30 | 29 | use ApacheSolrForTypo3\Solr\System\Logging\SolrLogManager; |
31 | 30 | use TYPO3\CMS\Core\SingletonInterface; |