@@ -772,7 +772,7 @@ discard block |
||
772 | 772 | } |
773 | 773 | |
774 | 774 | /** |
775 | - * @param $filterFieldName |
|
775 | + * @param string $filterFieldName |
|
776 | 776 | */ |
777 | 777 | private function removeFilterByPrefix($filterFieldName) |
778 | 778 | { |
@@ -925,7 +925,7 @@ discard block |
||
925 | 925 | * Sets the fields to return by a query. |
926 | 926 | * |
927 | 927 | * @deprecated Use method setReturnFields() instead, will be removed in 8.0 |
928 | - * @param array|string $fieldList an array or comma-separated list of field names |
|
928 | + * @param string $fieldList an array or comma-separated list of field names |
|
929 | 929 | * @throws \UnexpectedValueException on parameters other than comma-separated lists and arrays |
930 | 930 | */ |
931 | 931 | public function setFieldList($fieldList = ['*', 'score']) |
@@ -1019,7 +1019,7 @@ discard block |
||
1019 | 1019 | * |
1020 | 1020 | * This query supports the complete Lucene Query Language. |
1021 | 1021 | * |
1022 | - * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
1022 | + * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter. |
|
1023 | 1023 | * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt |
1024 | 1024 | */ |
1025 | 1025 | public function setAlternativeQuery($alternativeQuery) |
@@ -1286,7 +1286,7 @@ discard block |
||
1286 | 1286 | * Appends an item to a queryParameter that is an array or initializes it as empty array when it is not set. |
1287 | 1287 | * |
1288 | 1288 | * @param string $key |
1289 | - * @param mixed $value |
|
1289 | + * @param string $value |
|
1290 | 1290 | */ |
1291 | 1291 | private function appendToArrayQueryParameter($key, $value) |
1292 | 1292 | { |
@@ -777,7 +777,7 @@ discard block |
||
777 | 777 | private function removeFilterByPrefix($filterFieldName) |
778 | 778 | { |
779 | 779 | foreach ($this->filters as $key => $filterString) { |
780 | - if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName )) { |
|
780 | + if (GeneralUtility::isFirstPartOfStr($filterString, $filterFieldName)) { |
|
781 | 781 | unset($this->filters[$key]); |
782 | 782 | } |
783 | 783 | } |
@@ -1211,7 +1211,7 @@ discard block |
||
1211 | 1211 | */ |
1212 | 1212 | public function setHighlighting($highlighting = true, $fragmentSize = 200) |
1213 | 1213 | { |
1214 | - if($highlighting instanceof Highlighting) { |
|
1214 | + if ($highlighting instanceof Highlighting) { |
|
1215 | 1215 | $this->highlighting = $highlighting; |
1216 | 1216 | return; |
1217 | 1217 | } |
@@ -162,7 +162,7 @@ |
||
162 | 162 | */ |
163 | 163 | public function getQueryParameters() |
164 | 164 | { |
165 | - if(!$this->isEnabled) { |
|
165 | + if (!$this->isEnabled) { |
|
166 | 166 | return []; |
167 | 167 | } |
168 | 168 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @package ApacheSolrForTypo3\Solr\Domain\Search\Query\ParameterProvider |
33 | 33 | */ |
34 | -class QueryFields implements ParameterProvider{ |
|
34 | +class QueryFields implements ParameterProvider { |
|
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @var array |