Passed
Pull Request — master (#1817)
by Timo
12:16
created
Classes/Domain/Search/ResultSet/SearchResultSet.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
     }
248 248
 
249 249
     /**
250
-     * @param \ApacheSolrForTypo3\Solr\Domain\Search\Query\Query $usedQuery
250
+     * @param \Solarium\QueryType\Select\Query\Query $usedQuery
251 251
      */
252 252
     public function setUsedQuery($usedQuery)
253 253
     {
Please login to merge, or discard this patch.
Classes/Query/Modifier/Faceting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
         $allFacets = $typoScriptConfiguration->getSearchFacetingFacets();
86 86
         $facetParameters = $this->buildFacetingParameters($allFacets, $typoScriptConfiguration);
87 87
         foreach ($facetParameters as $facetParameter => $value) {
88
-            if(strtolower($facetParameter) === 'facet.field') {
88
+            if (strtolower($facetParameter) === 'facet.field') {
89 89
                 $faceting->setFields($value);
90 90
             } else {
91 91
                 $faceting->addAdditionalParameter($facetParameter, $value);
Please login to merge, or discard this patch.
Classes/Search/AnalysisComponent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     public function initializeSearchComponent()
50 50
     {
51 51
         if ($this->searchConfiguration['results.']['showDocumentScoreAnalysis']) {
52
-         //   $this->query->setDebugMode();
52
+            //   $this->query->setDebugMode();
53 53
         }
54 54
     }
55 55
 
Please login to merge, or discard this patch.
Classes/Search/SortingComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         if (!empty($this->searchConfiguration['query.']['sortBy'])) {
64 64
             //@todo extract functionality to split field and direction
65 65
             $sortFields = GeneralUtility::trimExplode(',', $this->searchConfiguration['query.']['sortBy']);
66
-            foreach($sortFields as $sortField) {
66
+            foreach ($sortFields as $sortField) {
67 67
                 $parts = GeneralUtility::trimExplode(' ', $sortField);
68 68
                 $this->query->addSort($parts[0], $parts[1]);
69 69
             }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
             //@todo extract functionality to split field and direction
86 86
             $sortFields = GeneralUtility::trimExplode(',', $sortFields);
87
-            foreach($sortFields as $sortField) {
87
+            foreach ($sortFields as $sortField) {
88 88
                 $parts = GeneralUtility::trimExplode(' ', $sortField);
89 89
                 $this->query->addSort($parts[0], $parts[1]);
90 90
             }
Please login to merge, or discard this patch.