@@ -256,7 +256,7 @@ |
||
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 |
@@ -421,7 +421,7 @@ |
||
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 |
@@ -40,9 +40,9 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function getByName($name): Group |
42 | 42 | { |
43 | - foreach($this->data as $group) { |
|
43 | + foreach ($this->data as $group) { |
|
44 | 44 | /** @var $group Group */ |
45 | - if($group->getGroupName() === $name) { |
|
45 | + if ($group->getGroupName() === $name) { |
|
46 | 46 | return $group; |
47 | 47 | } |
48 | 48 | } |
@@ -56,9 +56,9 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function getHasWithName($name): bool |
58 | 58 | { |
59 | - foreach($this->data as $group) { |
|
59 | + foreach ($this->data as $group) { |
|
60 | 60 | /** @var $group Group */ |
61 | - if($group->getGroupName() === $name) { |
|
61 | + if ($group->getGroupName() === $name) { |
|
62 | 62 | return true; |
63 | 63 | } |
64 | 64 | } |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | public function getGroupNames(): array |
73 | 73 | { |
74 | 74 | $names = []; |
75 | - foreach($this->data as $group) { |
|
75 | + foreach ($this->data as $group) { |
|
76 | 76 | /** @var $group Group */ |
77 | 77 | $names[] = $group->getGroupName(); |
78 | 78 | } |
@@ -26,7 +26,6 @@ |
||
26 | 26 | * This copyright notice MUST APPEAR in all copies of the script! |
27 | 27 | ***************************************************************/ |
28 | 28 | use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet; |
29 | -use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
|
30 | 29 | use TYPO3\CMS\Core\SingletonInterface; |
31 | 30 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
32 | 31 |