Completed
Push — master ( bff41e...a2deb6 )
by Tim
14s
created
Classes/Hooks/KeSearchIndexer.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @return string|null
57 57
      */
58
-    public function customIndexer(array &$indexerConfig, IndexerRunner &$indexerObject): string
58
+    public function customIndexer(array &$indexerConfig, IndexerRunner & $indexerObject): string
59 59
     {
60 60
         if (self::KEY !== $indexerConfig['type']) {
61 61
             return '';
@@ -122,20 +122,20 @@  discard block
 block discarded – undo
122 122
                     ], '&');
123 123
 
124 124
                     $storeArguments = [
125
-                        $indexerConfig['storagepid'],               // storage PID
126
-                        $title,                                     // record title
127
-                        self::KEY,                                  // content type
128
-                        $indexerConfig['targetpid'],                // target PID: where is the single view?
129
-                        $fullContent,                               // indexed content, includes the title (linebreak after title)
130
-                        $originalObject->getKeSearchTags($index),   // tags for faceted search
131
-                        $params,                                    // typolink params for singleview
132
-                        $abstract,                                  // abstract; shown in result list if not empty
133
-                        $row[$languageField],                       // language uid
134
-                        $row['starttime'],                          // starttime
135
-                        $row['endtime'],                            // endtime
136
-                        $row['fe_group'],                           // fe_group
137
-                        false,                                      // debug only?
138
-                        $additionalFields,                          // additionalFields
125
+                        $indexerConfig['storagepid'], // storage PID
126
+                        $title, // record title
127
+                        self::KEY, // content type
128
+                        $indexerConfig['targetpid'], // target PID: where is the single view?
129
+                        $fullContent, // indexed content, includes the title (linebreak after title)
130
+                        $originalObject->getKeSearchTags($index), // tags for faceted search
131
+                        $params, // typolink params for singleview
132
+                        $abstract, // abstract; shown in result list if not empty
133
+                        $row[$languageField], // language uid
134
+                        $row['starttime'], // starttime
135
+                        $row['endtime'], // endtime
136
+                        $row['fe_group'], // fe_group
137
+                        false, // debug only?
138
+                        $additionalFields, // additionalFields
139 139
                     ];
140 140
 
141 141
                     $indexerObject->storeInIndex(...$storeArguments);
Please login to merge, or discard this patch.
Classes/Service/IndexerService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@
 block discarded – undo
206 206
 
207 207
         if ($workspace) {
208 208
             // Placeholder are respect in function updateIndex
209
-            $currentItems = array_filter($currentItems, static function ($item) {
209
+            $currentItems = array_filter($currentItems, static function($item) {
210 210
                 return VersionState::DELETE_PLACEHOLDER !== ($item['t3ver_state'] ?? false);
211 211
             });
212 212
         }
Please login to merge, or discard this patch.
Classes/Domain/Repository/RawIndexRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
         }
99 99
 
100 100
         // @todo check
101
-        $result = array_values(array_filter($result, static function ($item) {
101
+        $result = array_values(array_filter($result, static function($item) {
102 102
             return \is_array($item) && VersionState::DELETE_PLACEHOLDER !== ($item['t3ver_state'] ?? false);
103 103
         }));
104 104
 
Please login to merge, or discard this patch.