@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * Reflection helper. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Utility; |
| 9 | 9 | |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | } |
| 109 | 109 | $values = $classReflection->getTagValues($tag); |
| 110 | 110 | if (\is_array($values)) { |
| 111 | - return \trim((string) $values[0]); |
|
| 111 | + return \trim((string)$values[0]); |
|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | return false; |
@@ -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 | |
@@ -203,9 +203,9 @@ discard block |
||
| 203 | 203 | */ |
| 204 | 204 | protected function useTableNameFileBase() |
| 205 | 205 | { |
| 206 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 206 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 207 | 207 | |
| 208 | - return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false; |
|
| 208 | + return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false; |
|
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | /** |
@@ -274,9 +274,9 @@ discard block |
||
| 274 | 274 | $dbInformation = $property->getTagValues('db'); |
| 275 | 275 | $fields[] = [ |
| 276 | 276 | 'name' => GeneralUtility::camelCaseToLowerCaseUnderscored($property->getName()), |
| 277 | - 'db' => \trim((string) $dbInformation[0]), |
|
| 278 | - 'var' => \trim((string) $var), |
|
| 279 | - 'rte' => (bool) $property->isTaggedWith('enableRichText'), |
|
| 277 | + 'db' => \trim((string)$dbInformation[0]), |
|
| 278 | + 'var' => \trim((string)$var), |
|
| 279 | + 'rte' => (bool)$property->isTaggedWith('enableRichText'), |
|
| 280 | 280 | ]; |
| 281 | 281 | } |
| 282 | 282 | |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | $classReflection = ReflectionUtility::createReflectionClass($modelClassName); |
| 340 | 340 | if ($classReflection->isTaggedWith('key')) { |
| 341 | 341 | $additionalKeys = $classReflection->getTagValues('key'); |
| 342 | - \array_walk($additionalKeys, function (&$item) { |
|
| 342 | + \array_walk($additionalKeys, function(&$item) { |
|
| 343 | 343 | $item = 'KEY ' . $item; |
| 344 | 344 | }); |
| 345 | 345 | $fields = \array_merge($fields, $additionalKeys); |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * Clear Cache hook for the Backend. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Hooks; |
| 9 | 9 | |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | return ''; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | - return (string) $uri; |
|
| 89 | + return (string)$uri; |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
@@ -96,9 +96,9 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | protected function isAlwaysActivated(): bool |
| 98 | 98 | { |
| 99 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 99 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 100 | 100 | |
| 101 | - return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool) $configuration['enableAutoloaderClearCacheInProduction'] : false; |
|
| 101 | + return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool)$configuration['enableAutoloaderClearCacheInProduction'] : false; |
|
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |