@@ -41,7 +41,7 @@ discard block |
||
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 |
||
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; |
@@ -70,7 +70,7 @@ discard block |
||
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 |
||
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 |
||
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); |
@@ -27,7 +27,7 @@ |
||
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 |