@@ -101,7 +101,7 @@ |
||
| 101 | 101 | { |
| 102 | 102 | static $tables; |
| 103 | 103 | if (!\is_array($tables)) { |
| 104 | - $tables = array_map(static function ($config) { |
|
| 104 | + $tables = array_map(static function($config) { |
|
| 105 | 105 | return $config['tableName']; |
| 106 | 106 | }, GeneralUtility::makeInstance(Register::class)->getRegister()); |
| 107 | 107 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | $date = $arguments['date']; |
| 35 | 35 | if ($date instanceof \DateTimeInterface) { |
| 36 | - $renderChildrenClosure = static function () use ($date) { |
|
| 36 | + $renderChildrenClosure = static function() use ($date) { |
|
| 37 | 37 | // Convert date to timestamp, so that it can be reparsed. |
| 38 | 38 | return $date->getTimestamp(); |
| 39 | 39 | }; |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | |
| 65 | 65 | $actions = $this->flexFormService->get('switchableControllerActions', 'main'); |
| 66 | 66 | $parts = GeneralUtility::trimExplode(';', $actions, true); |
| 67 | - $parts = array_map(static function ($element) { |
|
| 67 | + $parts = array_map(static function($element) { |
|
| 68 | 68 | $split = explode('->', $element); |
| 69 | 69 | |
| 70 | 70 | return ucfirst($split[1]); |
@@ -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); |