@@ -614,7 +614,7 @@ discard block |
||
614 | 614 | */ |
615 | 615 | public function getResultsPerPage() |
616 | 616 | { |
617 | - if($this->getGrouping()->getIsEnabled()) { |
|
617 | + if ($this->getGrouping()->getIsEnabled()) { |
|
618 | 618 | return $this->getGrouping()->getNumberOfGroups(); |
619 | 619 | } |
620 | 620 | |
@@ -1237,7 +1237,7 @@ discard block |
||
1237 | 1237 | */ |
1238 | 1238 | public function setHighlighting($highlighting = true, $fragmentSize = 200) |
1239 | 1239 | { |
1240 | - if($highlighting instanceof Highlighting) { |
|
1240 | + if ($highlighting instanceof Highlighting) { |
|
1241 | 1241 | $this->highlighting = $highlighting; |
1242 | 1242 | return; |
1243 | 1243 | } |
@@ -93,7 +93,7 @@ |
||
93 | 93 | $this->addFacetQueryFilters(); |
94 | 94 | |
95 | 95 | foreach ($this->facetParameters as $facetParameter => $value) { |
96 | - if(strtolower($facetParameter) === 'facet.field') { |
|
96 | + if (strtolower($facetParameter) === 'facet.field') { |
|
97 | 97 | $query->getFaceting()->setFields($value); |
98 | 98 | } else { |
99 | 99 | $query->getFaceting()->addAdditionalParameter($facetParameter, $value); |
@@ -2157,7 +2157,7 @@ |
||
2157 | 2157 | } |
2158 | 2158 | |
2159 | 2159 | $configuredGroups = $groupingConfiguration['groups.']; |
2160 | - if(!is_array($configuredGroups)) { |
|
2160 | + if (!is_array($configuredGroups)) { |
|
2161 | 2161 | return $highestLimit; |
2162 | 2162 | } |
2163 | 2163 |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | $facetParameters['facet.limit'] = $this->limit; |
213 | 213 | $facetParameters['facet.field'] = $this->fields; |
214 | 214 | |
215 | - foreach($this->additionalParameters as $additionalParameterKey => $additionalParameterValue) { |
|
215 | + foreach ($this->additionalParameters as $additionalParameterKey => $additionalParameterValue) { |
|
216 | 216 | $facetParameters[$additionalParameterKey] = $additionalParameterValue; |
217 | 217 | } |
218 | 218 | |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | |
238 | 238 | // alpha and lex alias for index |
239 | 239 | if ($this->sorting == 'alpha' || $this->sorting == 'lex') { |
240 | - $solrSorting= 'index'; |
|
240 | + $solrSorting = 'index'; |
|
241 | 241 | } |
242 | 242 | |
243 | 243 | $facetParameters['facet.sort'] = $solrSorting; |
@@ -58,7 +58,7 @@ |
||
58 | 58 | public function removeByPrefix($filterFieldName) |
59 | 59 | { |
60 | 60 | foreach ($this->filters as $key => $filterString) { |
61 | - if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName )) { |
|
61 | + if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName)) { |
|
62 | 62 | unset($this->filters[$key]); |
63 | 63 | } |
64 | 64 | } |