Passed
Pull Request — master (#1802)
by Timo
04:40
created
Classes/Domain/Search/Query/ParameterBuilder/QueryFields.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
         $string = $this->toString();
71 71
         // return empty array on empty string
72 72
 
73
-        if(trim($string) === '') {
73
+        if (trim($string) === '') {
74 74
             return $query;
75 75
         }
76 76
 
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/ParameterBuilder/Highlighting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
     public function build(Query $query): Query
169 169
     {
170 170
         if (!$this->isEnabled) {
171
-            $query->getQueryParametersContainer()->removeMany(['hl', 'hl.fragsize', 'hl.fl','hl.useFastVectorHighlighter', 'hl.tag.pre', 'hl.tag.post', 'hl.simple.pre', 'hl.simple.post']);
171
+            $query->getQueryParametersContainer()->removeMany(['hl', 'hl.fragsize', 'hl.fl', 'hl.useFastVectorHighlighter', 'hl.tag.pre', 'hl.tag.post', 'hl.simple.pre', 'hl.simple.post']);
172 172
 
173 173
             return $query;
174 174
         }
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/ParameterBuilder/Grouping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     public function build(Query $query): Query
96 96
     {
97 97
         if (!$this->isEnabled) {
98
-            $query->getQueryParametersContainer()->removeMany(['group', 'group.format', 'group.ngroups', 'group.limit' ,'group.query' , 'group.sort' , 'group.field']);
98
+            $query->getQueryParametersContainer()->removeMany(['group', 'group.format', 'group.ngroups', 'group.limit', 'group.query', 'group.sort', 'group.field']);
99 99
 
100 100
             return $query;
101 101
         }
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/ParameterBuilder/Debug.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     public function build(Query $query): Query
75 75
     {
76 76
         if (!$this->isEnabled) {
77
-            $query->getQueryParametersContainer()->removeMany(['debugQuery','echoParams']);
77
+            $query->getQueryParametersContainer()->removeMany(['debugQuery', 'echoParams']);
78 78
             return $query;
79 79
         }
80 80
 
Please login to merge, or discard this patch.
Classes/Domain/Search/Query/QueryParametersContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     public function removeByPrefix($prefix)
110 110
     {
111 111
         foreach ($this->queryParameters as $parameterName => $parameterValue) {
112
-            if(GeneralUtility::isFirstPartOfStr($parameterName, $prefix)) {
112
+            if (GeneralUtility::isFirstPartOfStr($parameterName, $prefix)) {
113 113
                 unset($this->queryParameters[$parameterName]);
114 114
             }
115 115
         }
Please login to merge, or discard this patch.