@@ -14,11 +14,9 @@ |
||
14 | 14 | * The TYPO3 project - inspiring people to share! |
15 | 15 | */ |
16 | 16 | |
17 | -use ApacheSolrForTypo3\Solr\System\Configuration\ConfigurationManager; |
|
18 | 17 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
19 | 18 | use TYPO3\CMS\Core\TypoScript\TypoScriptService; |
20 | 19 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
21 | -use TYPO3\CMS\Extbase\Configuration\ConfigurationManager as ExtbaseConfigurationManager; |
|
22 | 20 | use TYPO3\CMS\Extbase\Reflection\ObjectAccess; |
23 | 21 | use TYPO3\CMS\Extbase\Service\FlexFormService; |
24 | 22 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | namespace ApacheSolrForTypo3\Solr\Controller\Backend; |
4 | 4 | |
5 | 5 | /*************************************************************** |
@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @param $pid |
|
151 | + * @param integer $pid |
|
152 | 152 | * @return \ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration|array |
153 | 153 | */ |
154 | 154 | protected function getConfigurationFromPageId($pid) |
@@ -63,13 +63,13 @@ |
||
63 | 63 | */ |
64 | 64 | public function initializeView(ViewInterface $view) |
65 | 65 | { |
66 | - if($view instanceof TemplateView) { |
|
66 | + if ($view instanceof TemplateView) { |
|
67 | 67 | $customTemplate = $this->getCustomTemplateFromConfiguration(); |
68 | - if($customTemplate === '') { |
|
68 | + if ($customTemplate === '') { |
|
69 | 69 | return; |
70 | 70 | } |
71 | 71 | |
72 | - if(strpos($customTemplate, 'EXT:') !== false) { |
|
72 | + if (strpos($customTemplate, 'EXT:') !== false) { |
|
73 | 73 | $view->setTemplatePathAndFilename($customTemplate); |
74 | 74 | } else { |
75 | 75 | $view->setTemplate($customTemplate); |
@@ -30,10 +30,8 @@ |
||
30 | 30 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequestAware; |
31 | 31 | use ApacheSolrForTypo3\Solr\Query; |
32 | 32 | use ApacheSolrForTypo3\Solr\Query\Modifier\Modifier; |
33 | -use ApacheSolrForTypo3\Solr\Response\Processor\ResponseProcessor; |
|
34 | 33 | use ApacheSolrForTypo3\Solr\Search; |
35 | 34 | use ApacheSolrForTypo3\Solr\Search\QueryAware; |
36 | -use ApacheSolrForTypo3\Solr\Search\ResponseModifier; |
|
37 | 35 | use ApacheSolrForTypo3\Solr\Search\SearchAware; |
38 | 36 | use ApacheSolrForTypo3\Solr\Search\SearchComponentManager; |
39 | 37 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
@@ -690,7 +690,7 @@ |
||
690 | 690 | * |
691 | 691 | * This query supports the complete Lucene Query Language. |
692 | 692 | * |
693 | - * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
693 | + * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
694 | 694 | * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt |
695 | 695 | */ |
696 | 696 | public function setAlternativeQuery($alternativeQuery) |
@@ -478,7 +478,7 @@ discard block |
||
478 | 478 | */ |
479 | 479 | public function setGrouping(Grouping $grouping) |
480 | 480 | { |
481 | - $this->grouping = $grouping; |
|
481 | + $this->grouping = $grouping; |
|
482 | 482 | } |
483 | 483 | |
484 | 484 | /** |
@@ -851,7 +851,7 @@ discard block |
||
851 | 851 | */ |
852 | 852 | public function setHighlighting(Highlighting $highlighting) |
853 | 853 | { |
854 | - $this->highlighting = $highlighting; |
|
854 | + $this->highlighting = $highlighting; |
|
855 | 855 | } |
856 | 856 | |
857 | 857 | /** |