@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * SmartObjectInformationService.php. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Service; |
| 9 | 9 | |
@@ -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); |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * Loading Slots. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Loader; |
| 9 | 9 | |
@@ -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')) { |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | { |
| 361 | 361 | $nameMapperService = GeneralUtility::makeInstance(NameMapperService::class); |
| 362 | 362 | $tableName = ModelUtility::getTableName($className); |
| 363 | - return \array_map(function ($value) use ($nameMapperService, $tableName) { |
|
| 363 | + return \array_map(function($value) use ($nameMapperService, $tableName) { |
|
| 364 | 364 | return $nameMapperService->getDatabaseFieldName($tableName, $value); |
| 365 | 365 | }, ReflectionUtility::getDeclaringProperties($className)); |
| 366 | 366 | } |