@@ -467,7 +467,9 @@ |
||
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; |
@@ -38,9 +38,7 @@ |
||
38 | 38 | use ApacheSolrForTypo3\Solr\Search\SearchComponentManager; |
39 | 39 | use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
40 | 40 | use ApacheSolrForTypo3\Solr\System\Logging\SolrLogManager; |
41 | -use ApacheSolrForTypo3\Solr\System\Solr\SolrCommunicationException; |
|
42 | 41 | use ApacheSolrForTypo3\Solr\System\Solr\SolrIncompleteResponseException; |
43 | -use ApacheSolrForTypo3\Solr\System\Solr\SolrInternalServerErrorException; |
|
44 | 42 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
45 | 43 | use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; |
46 | 44 |
@@ -361,7 +361,7 @@ |
||
361 | 361 | protected function doASearch($query, $offSet) |
362 | 362 | { |
363 | 363 | $response = $this->search->search($query, $offSet, null); |
364 | - if($response === null) { |
|
364 | + if ($response === null) { |
|
365 | 365 | throw new SolrIncompleteResponseException('The response retrieved from solr was incomplete', 1505989678); |
366 | 366 | } |
367 | 367 |