@@ -55,7 +55,7 @@ discard block |
||
| 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 |
||
| 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); |
@@ -206,7 +206,7 @@ |
||
| 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 | } |
@@ -98,7 +98,7 @@ |
||
| 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 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | public function getSecondaryTimeTables(): array |
| 19 | 19 | { |
| 20 | - return array_filter($this->timeTableServices, function (TimeTableInterface $timeTable) { |
|
| 20 | + return array_filter($this->timeTableServices, function(TimeTableInterface $timeTable) { |
|
| 21 | 21 | return $timeTable->enable(); |
| 22 | 22 | }); |
| 23 | 23 | } |