@@ -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 | } |
@@ -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; |
@@ -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 | } |