@@ -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 = [ |
@@ -974,7 +974,7 @@ discard block |
||
| 974 | 974 | '-3' => ConfigurationInterface::RECURRENCE_THIRD_LAST, |
| 975 | 975 | ]; |
| 976 | 976 | $recurrence = substr($calByday, 0, -2); // cut last 2 chars |
| 977 | - if (empty($calByday) || !array_key_exists($recurrence,$recurrences)) { |
|
| 977 | + if (empty($calByday) || !array_key_exists($recurrence, $recurrences)) { |
|
| 978 | 978 | return ''; |
| 979 | 979 | } |
| 980 | 980 | |
@@ -1308,7 +1308,7 @@ discard block |
||
| 1308 | 1308 | $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME); |
| 1309 | 1309 | $dbSchema = $connection->getSchemaManager()->createSchema(); |
| 1310 | 1310 | |
| 1311 | - $tableNames = array_map(static function ($table) { |
|
| 1311 | + $tableNames = array_map(static function($table) { |
|
| 1312 | 1312 | return $table->getName(); |
| 1313 | 1313 | }, $dbSchema->getTables()); |
| 1314 | 1314 | |
@@ -18,9 +18,9 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | protected $title = ''; |
| 20 | 20 | |
| 21 | - /** |
|
| 22 | - * @var OutputInterface |
|
| 23 | - */ |
|
| 21 | + /** |
|
| 22 | + * @var OutputInterface |
|
| 23 | + */ |
|
| 24 | 24 | protected $output; |
| 25 | 25 | |
| 26 | 26 | public function setOutput(OutputInterface $output): void |