Completed
Push — master ( 86d3fe...d815fa )
by Tim
10:20
created
Classes/Utility/TranslateUtility.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             }
42 42
         }
43 43
 
44
-        return (string) $default;
44
+        return (string)$default;
45 45
     }
46 46
 
47 47
     /**
@@ -83,10 +83,10 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public static function getLllString($key, $extensionKey, $file = null, $tableName = null)
85 85
     {
86
-        if($file === null) {
86
+        if ($file === null) {
87 87
             $file = 'locallang.xlf';
88 88
         }
89
-        if(self::useTableNameFileBase() && $tableName !== null) {
89
+        if (self::useTableNameFileBase() && $tableName !== null) {
90 90
             $file = $tableName . '.xlf';
91 91
         }
92 92
         return 'LLL:EXT:' . $extensionKey . '/Resources/Private/Language/' . $file . ':' . $key;
Please login to merge, or discard this patch.
Classes/Service/SmartObjectInformationService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         foreach ($customFieldInfo as $info) {
71 71
             $key = $tableName . '.' . $info['name'];
72 72
 
73
-            if($this->useTableNameFileBase()) {
73
+            if ($this->useTableNameFileBase()) {
74 74
                 // Without prefix !
75 75
                 $key = $info['name'];
76 76
             }
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
                 'name' => GeneralUtility::camelCaseToLowerCaseUnderscored($property->getName()),
273 273
                 'db' => trim($dbInformation[0]),
274 274
                 'var' => trim($var),
275
-                'rte' => (bool) $property->isTaggedWith('enableRichText'),
275
+                'rte' => (bool)$property->isTaggedWith('enableRichText'),
276 276
             ];
277 277
         }
278 278
 
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
         $classReflection = ReflectionUtility::createReflectionClass($modelClassName);
336 336
         if ($classReflection->isTaggedWith('key')) {
337 337
             $additionalKeys = $classReflection->getTagValues('key');
338
-            array_walk($additionalKeys, function (&$item) {
338
+            array_walk($additionalKeys, function(&$item) {
339 339
                 $item = 'KEY ' . $item;
340 340
             });
341 341
             $fields = array_merge($fields, $additionalKeys);
Please login to merge, or discard this patch.
Classes/Hooks/Localization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function assureLabel($key, $extensionName, &$default, $arguments, $tableName)
28 28
     {
29 29
         $overrideBaseName = null;
30
-        if($this->useTableNameFileBase()) {
30
+        if ($this->useTableNameFileBase()) {
31 31
             $overrideBaseName = $tableName;
32 32
         }
33 33
 
Please login to merge, or discard this patch.