Passed
Pull Request — master (#1385)
by Timo
19:35
created
Classes/Query/Modifier/Faceting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/ParameterBuilder/Filters.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
Classes/Query.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
     /**
549 549
      * Activates and deactivates grouping for the current query.
550 550
      *
551
-     * @param bool|Grouping $grouping TRUE to enable grouping, FALSE to disable grouping
551
+     * @param Grouping $grouping TRUE to enable grouping, FALSE to disable grouping
552 552
      * @return void
553 553
      */
554 554
     public function setGrouping($grouping = true)
@@ -736,7 +736,7 @@  discard block
 block discarded – undo
736 736
     /**
737 737
      * Activates and deactivates faceting for the current query.
738 738
      *
739
-     * @param bool|Faceting $faceting TRUE to enable faceting, FALSE to disable faceting
739
+     * @param Faceting $faceting TRUE to enable faceting, FALSE to disable faceting
740 740
      * @return void
741 741
      */
742 742
     public function setFaceting($faceting = true)
@@ -1043,7 +1043,7 @@  discard block
 block discarded – undo
1043 1043
      *
1044 1044
      * This query supports the complete Lucene Query Language.
1045 1045
      *
1046
-     * @param mixed $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1046
+     * @param string $alternativeQuery String alternative query or boolean FALSE to disable / reset the q.alt parameter.
1047 1047
      * @see http://wiki.apache.org/solr/DisMaxQParserPlugin#q.alt
1048 1048
      */
1049 1049
     public function setAlternativeQuery($alternativeQuery)
Please login to merge, or discard this patch.