@@ -175,7 +175,7 @@ |
||
175 | 175 | * This methods sets the page argument to an expected positive integer value in the arguments array. |
176 | 176 | * |
177 | 177 | * @param array $arguments |
178 | - * @return array |
|
178 | + * @return integer |
|
179 | 179 | */ |
180 | 180 | protected function adjustPageArgumentToPositiveInteger(array $arguments) |
181 | 181 | { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | * |
79 | 79 | * @param SearchRequest $searchRequest |
80 | 80 | * @param string $additionalFilters |
81 | - * @return array |
|
81 | + * @return string |
|
82 | 82 | */ |
83 | 83 | public function getSuggestions(SearchRequest $searchRequest, $additionalFilters) : array |
84 | 84 | { |
@@ -256,7 +256,7 @@ |
||
256 | 256 | * @param string $additionalFilters |
257 | 257 | * @return SuggestQuery |
258 | 258 | */ |
259 | - protected function buildSuggestQuery(string $queryString ,string $additionalFilters) : SuggestQuery |
|
259 | + protected function buildSuggestQuery(string $queryString, string $additionalFilters) : SuggestQuery |
|
260 | 260 | { |
261 | 261 | $suggestQuery = GeneralUtility::makeInstance(SuggestQuery::class, $queryString); |
262 | 262 |
@@ -421,7 +421,7 @@ |
||
421 | 421 | |
422 | 422 | } |
423 | 423 | |
424 | - if($response === null) { |
|
424 | + if ($response === null) { |
|
425 | 425 | throw new SolrIncompleteResponseException('The response retrieved from solr was incomplete', 1505989678); |
426 | 426 | } |
427 | 427 |
@@ -26,8 +26,6 @@ |
||
26 | 26 | ***************************************************************/ |
27 | 27 | |
28 | 28 | use ApacheSolrForTypo3\Solr\Domain\Search\Query\ParameterBuilder\QueryFields; |
29 | -use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Result\Parser\DefaultParser; |
|
30 | -use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Result\Parser\DefaultResultParser; |
|
31 | 29 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Result\Parser\ResultParserRegistry; |
32 | 30 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequest; |
33 | 31 | use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequestAware; |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * @param \Apache_Solr_Response $response |
65 | 65 | * @param SearchResultSet $resultSet |
66 | - * @return mixed |
|
66 | + * @return boolean |
|
67 | 67 | */ |
68 | 68 | public function canParse(\Apache_Solr_Response $response, SearchResultSet $resultSet) |
69 | 69 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | $documents = $parsedData->response->docs; |
51 | - if(!$useRawDocuments) { |
|
51 | + if (!$useRawDocuments) { |
|
52 | 52 | $documents = $this->applyHtmlSpecialCharsOnAllFields($documents); |
53 | 53 | } |
54 | 54 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | public function canParse(\Apache_Solr_Response $response, SearchResultSet $resultSet) |
69 | 69 | { |
70 | 70 | // This parsers should not be used when grouping is enabled |
71 | - if($this->typoScriptConfiguration->getSearchGrouping()) |
|
71 | + if ($this->typoScriptConfiguration->getSearchGrouping()) |
|
72 | 72 | { |
73 | 73 | return false; |
74 | 74 | } |
@@ -16,7 +16,6 @@ |
||
16 | 16 | |
17 | 17 | use ApacheSolrForTypo3\Solr\Widget\AbstractWidgetController; |
18 | 18 | use TYPO3\CMS\Core\Utility\ArrayUtility; |
19 | -use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * Class ResultPaginateController |
@@ -147,7 +147,7 @@ |
||
147 | 147 | */ |
148 | 148 | public function offsetSet($offset, $value) |
149 | 149 | { |
150 | - if($offset === null) { |
|
150 | + if ($offset === null) { |
|
151 | 151 | $this->data[] = $value; |
152 | 152 | return; |
153 | 153 | } |