@@ -204,9 +204,9 @@ discard block |
||
| 204 | 204 | */ |
| 205 | 205 | protected function useTableNameFileBase() |
| 206 | 206 | { |
| 207 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 207 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 208 | 208 | |
| 209 | - return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false; |
|
| 209 | + return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false; |
|
| 210 | 210 | } |
| 211 | 211 | |
| 212 | 212 | /** |
@@ -277,8 +277,8 @@ discard block |
||
| 277 | 277 | $fields[] = [ |
| 278 | 278 | 'property' => $propertyName, |
| 279 | 279 | 'name' => $nameMapperService->getDatabaseFieldName($tableName, $propertyName), |
| 280 | - 'db' => \trim((string) $configuration['db']), |
|
| 281 | - 'var' => \trim((string) $var), |
|
| 280 | + 'db' => \trim((string)$configuration['db']), |
|
| 281 | + 'var' => \trim((string)$var), |
|
| 282 | 282 | 'rte' => $configuration[$enableRichText] === '', |
| 283 | 283 | ]; |
| 284 | 284 | } |
@@ -342,7 +342,7 @@ discard block |
||
| 342 | 342 | $reflectionConfiguration = ReflectionUtility::getTagConfigurationForClass($modelClassName, ['key']); |
| 343 | 343 | if (!empty($reflectionConfiguration['key'])) { |
| 344 | 344 | $additionalKeys = $reflectionConfiguration['key']; |
| 345 | - \array_walk($additionalKeys, function (&$item) { |
|
| 345 | + \array_walk($additionalKeys, function(&$item) { |
|
| 346 | 346 | $item = 'KEY ' . $item; |
| 347 | 347 | }); |
| 348 | 348 | $fields = \array_merge($fields, $additionalKeys); |