Passed
Pull Request — master (#1687)
by Tomas Norre
04:45
created
Classes/Domain/Search/Suggest/SuggestService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
      * @param string $additionalFilters
257 257
      * @return SuggestQuery
258 258
      */
259
-    protected function buildSuggestQuery(string $queryString ,string $additionalFilters) : SuggestQuery
259
+    protected function buildSuggestQuery(string $queryString, string $additionalFilters) : SuggestQuery
260 260
     {
261 261
         $suggestQuery = GeneralUtility::makeInstance(SuggestQuery::class, $queryString);
262 262
 
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/SearchResultSetService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@
 block discarded – undo
421 421
 
422 422
         }
423 423
 
424
-        if($response === null) {
424
+        if ($response === null) {
425 425
             throw new SolrIncompleteResponseException('The response retrieved from solr was incomplete', 1505989678);
426 426
         }
427 427
 
Please login to merge, or discard this patch.
Classes/System/Configuration/TypoScriptConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2231,13 +2231,13 @@
 block discarded – undo
2231 2231
         $specificResultsPerGroup = $this->getValueByPathOrDefaultValue($specificPath, null);
2232 2232
 
2233 2233
         if ($specificResultsPerGroup !== null) {
2234
-            return (int) $specificResultsPerGroup;
2234
+            return (int)$specificResultsPerGroup;
2235 2235
         }
2236 2236
 
2237 2237
         $commonPath = 'plugin.tx_solr.search.grouping.numberOfResultsPerGroup';
2238 2238
         $commonValue = $this->getValueByPathOrDefaultValue($commonPath, null);
2239 2239
         if ($commonValue !== null) {
2240
-            return (int) $commonValue;
2240
+            return (int)$commonValue;
2241 2241
         }
2242 2242
 
2243 2243
         return $defaultIfEmpty;
Please login to merge, or discard this patch.
Classes/Domain/Search/SearchRequest.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -467,7 +467,9 @@
 block discarded – undo
467 467
         $path = $this->prefixWithNamespace('groupPage');
468 468
         $groupPages = $this->argumentsAccessor->get($path);
469 469
         foreach ($groupPages as $groups) {
470
-            if (!is_array($groups)) continue;
470
+            if (!is_array($groups)) {
471
+                continue;
472
+            }
471 473
             foreach ($groups as $groupItemPage) {
472 474
                 if ($groupItemPage > $max) {
473 475
                     $max = $groupItemPage;
Please login to merge, or discard this patch.