Completed
Push — master ( f07621...eed3f2 )
by Tim
08:07 queued 05:27
created
Classes/Hooks/ElementBackendPreview.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,6 +110,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Classes/Hooks/Localization.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Classes/Service/SmartObjectInformationService.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -204,9 +204,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
Classes/Loader/ContentObjects.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.