Completed
Push — master ( 657783...815996 )
by Tim
03:07
created
Classes/Loader/ContentObjects.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             if (!isset($GLOBALS['TCA']['tt_content']['types'][$typeKey]['showitem'])) {
157 157
                 $baseTcaConfiguration = $this->wrapDefaultTcaConfiguration(
158 158
                     $config['fieldConfiguration'],
159
-                    (bool) $config['noHeader']
159
+                    (bool)$config['noHeader']
160 160
                 );
161 161
 
162 162
                 if (ExtensionManagementUtility::isLoaded('gridelements')) {
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         $nameMapperService = GeneralUtility::makeInstance(NameMapperService::class);
357 357
         $tableName = ModelUtility::getTableName($className);
358 358
 
359
-        return \array_map(function ($value) use ($nameMapperService, $tableName) {
359
+        return \array_map(function($value) use ($nameMapperService, $tableName) {
360 360
             return $nameMapperService->getDatabaseFieldName($tableName, $value);
361 361
         }, ReflectionUtility::getDeclaringProperties($className));
362 362
     }
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
         }
406 406
         $defaultFields = [];
407 407
         // Note: TCA could be missing in install tool checks, so cast the TCA to array
408
-        $existingFields = \array_keys((array) $GLOBALS['TCA']['tt_content']['columns']);
408
+        $existingFields = \array_keys((array)$GLOBALS['TCA']['tt_content']['columns']);
409 409
         $parts = GeneralUtility::trimExplode(',', $configuration, true);
410 410
         foreach ($parts as $fieldConfiguration) {
411 411
             $fieldConfiguration = GeneralUtility::trimExplode(';', $fieldConfiguration, true);
Please login to merge, or discard this patch.