Completed
Pull Request — master (#791)
by Timo
60:04 queued 49:26
created
Classes/Query.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      */
157 157
     public function __construct($keywords, $solrConfiguration = null)
158 158
     {
159
-        $keywords = (string) $keywords;
159
+        $keywords = (string)$keywords;
160 160
         if ($solrConfiguration == null) {
161 161
             $this->solrConfiguration = Util::getSolrConfiguration();
162 162
         } else {
@@ -677,7 +677,7 @@  discard block
 block discarded – undo
677 677
      */
678 678
     public function getGroupFields()
679 679
     {
680
-        return (array) $this->getQueryParameter('group.field', []);
680
+        return (array)$this->getQueryParameter('group.field', []);
681 681
     }
682 682
 
683 683
     /**
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
      */
701 701
     public function getGroupSortings()
702 702
     {
703
-        return (array) $this->getQueryParameter('group.sort', []);
703
+        return (array)$this->getQueryParameter('group.sort', []);
704 704
     }
705 705
 
706 706
     // faceting
@@ -726,7 +726,7 @@  discard block
 block discarded – undo
726 726
      */
727 727
     public function getGroupQueries()
728 728
     {
729
-        return (array) $this->getQueryParameter('group.query', []);
729
+        return (array)$this->getQueryParameter('group.query', []);
730 730
     }
731 731
 
732 732
     /**
@@ -880,7 +880,7 @@  discard block
 block discarded – undo
880 880
      */
881 881
     public function removeFilterByValue($filterString) {
882 882
         $key = array_search($filterString, $this->filters);
883
-        if($key === false) {
883
+        if ($key === false) {
884 884
             // value not found, nothing to do
885 885
             return;
886 886
         }
Please login to merge, or discard this patch.