@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $query->setLimit(15); |
| 33 | 33 | $indices = $query->execute()->toArray(); |
| 34 | 34 | |
| 35 | - return array_map(function (Index $index) { |
|
| 35 | + return array_map(function(Index $index) { |
|
| 36 | 36 | try { |
| 37 | 37 | /** @var StandaloneView $standaloneView */ |
| 38 | 38 | $standaloneView = GeneralUtility::makeInstance(StandaloneView::class); |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | } |
| 24 | 24 | $events = $parser->getEvents(); |
| 25 | 25 | |
| 26 | - $wrapEvents = static function (ICalEvent $event) { |
|
| 26 | + $wrapEvents = static function(ICalEvent $event) { |
|
| 27 | 27 | return new DissectEventAdapter($event); |
| 28 | 28 | }; |
| 29 | 29 | |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | { |
| 85 | 85 | $workspace = isset($record['t3ver_wsid']) ? (int)$record['t3ver_wsid'] : 0; |
| 86 | 86 | $origId = isset($record['t3ver_oid']) ? (int)$record['t3ver_oid'] : 0; |
| 87 | - $neededItems = array_map(static function ($item) use ($workspace, $origId, $record) { |
|
| 87 | + $neededItems = array_map(static function($item) use ($workspace, $origId, $record) { |
|
| 88 | 88 | $item['t3ver_wsid'] = $workspace; |
| 89 | 89 | // Set relation to the original record |
| 90 | 90 | if ($workspace) { |
@@ -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 | }; |
@@ -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 | } |
@@ -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 | } |
@@ -22,12 +22,12 @@ |
||
| 22 | 22 | * Handle CMD. |
| 23 | 23 | */ |
| 24 | 24 | public function processCmdmap_postProcess( |
| 25 | - int|string $command, |
|
| 25 | + int | string $command, |
|
| 26 | 26 | string $table, |
| 27 | - int|string $uid, |
|
| 27 | + int | string $uid, |
|
| 28 | 28 | mixed $value, |
| 29 | 29 | DataHandler $handler, |
| 30 | - false|array $pasteUpdate, |
|
| 30 | + false | array $pasteUpdate, |
|
| 31 | 31 | array $pasteDatamap |
| 32 | 32 | ): void { |
| 33 | 33 | /** @var IndexerService $indexer */ |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | public function processDatamap_afterDatabaseOperations( |
| 26 | 26 | string $status, |
| 27 | 27 | string $table, |
| 28 | - int|string $identifier, |
|
| 28 | + int | string $identifier, |
|
| 29 | 29 | array $fieldArray, |
| 30 | 30 | DataHandler $dataHandler |
| 31 | 31 | ): void { |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | /** |
| 41 | 41 | * Calendarize indexer for ke_search. |
| 42 | 42 | */ |
| 43 | - public function customIndexer(array &$indexerConfig, IndexerRunner &$indexerObject): string |
|
| 43 | + public function customIndexer(array &$indexerConfig, IndexerRunner & $indexerObject): string |
|
| 44 | 44 | { |
| 45 | 45 | if (self::KEY !== $indexerConfig['type']) { |
| 46 | 46 | return ''; |
@@ -103,21 +103,21 @@ discard block |
||
| 103 | 103 | ], '&'); |
| 104 | 104 | |
| 105 | 105 | $storeArguments = [ |
| 106 | - $indexerConfig['storagepid'], // storage PID |
|
| 107 | - $title, // record title |
|
| 108 | - self::KEY, // content type |
|
| 109 | - $indexerConfig['targetpid'], // target PID: where is the single view? |
|
| 106 | + $indexerConfig['storagepid'], // storage PID |
|
| 107 | + $title, // record title |
|
| 108 | + self::KEY, // content type |
|
| 109 | + $indexerConfig['targetpid'], // target PID: where is the single view? |
|
| 110 | 110 | // indexed content, includes the title (linebreak after title) |
| 111 | 111 | $fullContent, |
| 112 | - $originalObject->getKeSearchTags($index), // tags for faceted search |
|
| 113 | - $params, // typolink params for singleview |
|
| 114 | - $abstract, // abstract; shown in result list if not empty |
|
| 115 | - $row[$languageField], // language uid |
|
| 116 | - $row['starttime'], // starttime |
|
| 117 | - $row['endtime'], // endtime |
|
| 118 | - $row['fe_group'], // fe_group |
|
| 119 | - false, // debug only? |
|
| 120 | - $additionalFields, // additionalFields |
|
| 112 | + $originalObject->getKeSearchTags($index), // tags for faceted search |
|
| 113 | + $params, // typolink params for singleview |
|
| 114 | + $abstract, // abstract; shown in result list if not empty |
|
| 115 | + $row[$languageField], // language uid |
|
| 116 | + $row['starttime'], // starttime |
|
| 117 | + $row['endtime'], // endtime |
|
| 118 | + $row['fe_group'], // fe_group |
|
| 119 | + false, // debug only? |
|
| 120 | + $additionalFields, // additionalFields |
|
| 121 | 121 | ]; |
| 122 | 122 | |
| 123 | 123 | $indexerObject->storeInIndex(...$storeArguments); |