@@ -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); |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | |
291 | 291 | $dispatcher = self::getSignalSlotDispatcher(); |
292 | 292 | $dispatcher->dispatch(__CLASS__, __FUNCTION__ . 'PostInsert', $variablesPostInsert); |
293 | - $this->logger->debug("after performCalEventUpdatePostInsert: " . $variablesPostInsert['event']['uid'] . " dbQueries: " . print_r($variablesPostInsert['dbQueries'],true)); |
|
293 | + $this->logger->debug("after performCalEventUpdatePostInsert: " . $variablesPostInsert['event']['uid'] . " dbQueries: " . print_r($variablesPostInsert['dbQueries'], true)); |
|
294 | 294 | } |
295 | 295 | |
296 | 296 | $indexer = GeneralUtility::makeInstance(IndexerService::class); |
@@ -431,7 +431,7 @@ discard block |
||
431 | 431 | public function performSysFileReferenceUpdate($calIds, array &$dbQueries, &$customMessages) |
432 | 432 | { |
433 | 433 | $this->logger->debug('Start performSysFileReferenceUpdate'); |
434 | - $this->output->writeln( 'Start performSysFileReferenceUpdate' ); |
|
434 | + $this->output->writeln('Start performSysFileReferenceUpdate'); |
|
435 | 435 | $q = $this->getQueryBuilder('tx_cal_event'); |
436 | 436 | |
437 | 437 | $variables = [ |
@@ -1250,7 +1250,7 @@ discard block |
||
1250 | 1250 | $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME); |
1251 | 1251 | $dbSchema = $connection->getSchemaManager()->createSchema(); |
1252 | 1252 | |
1253 | - $tableNames = array_map(static function ($table) { |
|
1253 | + $tableNames = array_map(static function($table) { |
|
1254 | 1254 | return $table->getName(); |
1255 | 1255 | }, $dbSchema->getTables()); |
1256 | 1256 |