@@ -110,6 +110,6 @@ |
||
| 110 | 110 | { |
| 111 | 111 | $ctype = $row['CType']; |
| 112 | 112 | |
| 113 | - return (bool) $GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['ContentObject'][$ctype]; |
|
| 113 | + return (bool)$GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['ContentObject'][$ctype]; |
|
| 114 | 114 | } |
| 115 | 115 | } |
@@ -45,8 +45,8 @@ |
||
| 45 | 45 | */ |
| 46 | 46 | protected function useTableNameFileBase() |
| 47 | 47 | { |
| 48 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 48 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 49 | 49 | |
| 50 | - return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false; |
|
| 50 | + return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false; |
|
| 51 | 51 | } |
| 52 | 52 | } |
@@ -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 | /** |
@@ -278,9 +278,9 @@ discard block |
||
| 278 | 278 | $fields[] = [ |
| 279 | 279 | 'property' => $property->getName(), |
| 280 | 280 | 'name' => $nameMapperService->getDatabaseFieldName($tableName, $property->getName()), |
| 281 | - 'db' => \trim((string) $dbInformation[0]), |
|
| 282 | - 'var' => \trim((string) $var), |
|
| 283 | - 'rte' => (bool) $property->isTaggedWith('enableRichText'), |
|
| 281 | + 'db' => \trim((string)$dbInformation[0]), |
|
| 282 | + 'var' => \trim((string)$var), |
|
| 283 | + 'rte' => (bool)$property->isTaggedWith('enableRichText'), |
|
| 284 | 284 | ]; |
| 285 | 285 | } |
| 286 | 286 | |
@@ -343,7 +343,7 @@ discard block |
||
| 343 | 343 | $classReflection = ReflectionUtility::createReflectionClass($modelClassName); |
| 344 | 344 | if ($classReflection->isTaggedWith('key')) { |
| 345 | 345 | $additionalKeys = $classReflection->getTagValues('key'); |
| 346 | - \array_walk($additionalKeys, function (&$item) { |
|
| 346 | + \array_walk($additionalKeys, function(&$item) { |
|
| 347 | 347 | $item = 'KEY ' . $item; |
| 348 | 348 | }); |
| 349 | 349 | $fields = \array_merge($fields, $additionalKeys); |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | if (!isset($GLOBALS['TCA']['tt_content']['types'][$typeKey]['showitem'])) { |
| 161 | 161 | $baseTcaConfiguration = $this->wrapDefaultTcaConfiguration( |
| 162 | 162 | $config['fieldConfiguration'], |
| 163 | - (bool) $config['noHeader'] |
|
| 163 | + (bool)$config['noHeader'] |
|
| 164 | 164 | ); |
| 165 | 165 | |
| 166 | 166 | if (ExtensionManagementUtility::isLoaded('gridelements')) { |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | $nameMapperService = GeneralUtility::makeInstance(NameMapperService::class); |
| 362 | 362 | $tableName = ModelUtility::getTableName($className); |
| 363 | 363 | |
| 364 | - return \array_map(function ($value) use ($nameMapperService, $tableName) { |
|
| 364 | + return \array_map(function($value) use ($nameMapperService, $tableName) { |
|
| 365 | 365 | return $nameMapperService->getDatabaseFieldName($tableName, $value); |
| 366 | 366 | }, ReflectionUtility::getDeclaringProperties($className)); |
| 367 | 367 | } |