Passed
Push — master ( 723c0e...dfb1ea )
by Timo
04:52
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/Domain/Search/ResultSet/Grouping/GroupCollection.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/Result/Parser/ResultParserRegistry.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.