Failed Conditions
Pull Request — master (#1364)
by Timo
34:17
created
Domain/Search/ResultSet/Facets/OptionBased/Options/OptionsFacetParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
         $optionsToCreate = $this->getMergedFacetValueFromSearchRequestAndSolrResponse($optionsFromSolrResponse, $optionsFromRequest);
63 63
         foreach ($optionsToCreate as $optionsValue => $count) {
64
-            if($this->getIsExcludedFacetValue($optionsValue, $facetConfiguration)) {
64
+            if ($this->getIsExcludedFacetValue($optionsValue, $facetConfiguration)) {
65 65
                 continue;
66 66
             }
67 67
 
Please login to merge, or discard this patch.
Search/ResultSet/Facets/OptionBased/QueryGroup/QueryGroupFacetParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
                     continue;
70 70
                 }
71 71
 
72
-                if($this->getIsExcludedFacetValue($query, $facetConfiguration)) {
72
+                if ($this->getIsExcludedFacetValue($query, $facetConfiguration)) {
73 73
                     continue;
74 74
                 }
75 75
 
Please login to merge, or discard this patch.
Search/ResultSet/Facets/OptionBased/Hierarchy/HierarchyFacetParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $nodesToCreate = $this->getMergedFacetValueFromSearchRequestAndSolrResponse($optionsFromSolrResponse, $optionsFromRequest);
56 56
 
57 57
         foreach ($nodesToCreate as $value => $count) {
58
-            if($this->getIsExcludedFacetValue($value, $facetConfiguration)) {
58
+            if ($this->getIsExcludedFacetValue($value, $facetConfiguration)) {
59 59
                 continue;
60 60
             }
61 61
             $isActive = in_array($value, $optionsFromRequest);
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/Facets/AbstractFacetParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
      */
177 177
     protected function getIsExcludedFacetValue($value, array $facetConfiguration)
178 178
     {
179
-        if(!isset($facetConfiguration['excludeValues'])) {
179
+        if (!isset($facetConfiguration['excludeValues'])) {
180 180
             return false;
181 181
         }
182 182
 
Please login to merge, or discard this patch.