@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * Utility to interact with the Model. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Utility; |
| 9 | 9 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | */ |
| 41 | 41 | public static function getTableNameByModelReflectionAnnotation($modelClassName) |
| 42 | 42 | { |
| 43 | - return (string) ReflectionUtility::getFirstTagValue($modelClassName, 'db'); |
|
| 43 | + return (string)ReflectionUtility::getFirstTagValue($modelClassName, 'db'); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | */ |
| 85 | 85 | public static function getSmartExcludesByModelName($name) |
| 86 | 86 | { |
| 87 | - return GeneralUtility::trimExplode(',', (string) ReflectionUtility::getFirstTagValue($name, 'smartExclude'), true); |
|
| 87 | + return GeneralUtility::trimExplode(',', (string)ReflectionUtility::getFirstTagValue($name, 'smartExclude'), true); |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | /** |
@@ -154,14 +154,14 @@ discard block |
||
| 154 | 154 | GeneralUtility::makeInstance(Session::class)->destroy(); |
| 155 | 155 | $settings->setIgnoreEnableFields(true); |
| 156 | 156 | |
| 157 | - if (isset($data['sys_language_uid']) && (int) $data['sys_language_uid'] > 0) { |
|
| 158 | - GeneralUtility::_GETset((int) $data['sys_language_uid'], 'L'); |
|
| 157 | + if (isset($data['sys_language_uid']) && (int)$data['sys_language_uid'] > 0) { |
|
| 158 | + GeneralUtility::_GETset((int)$data['sys_language_uid'], 'L'); |
|
| 159 | 159 | |
| 160 | 160 | if (isset($data['l18n_parent']) && $data['l18n_parent'] > 0) { |
| 161 | 161 | $settings->setLanguageOverlayMode(false); |
| 162 | 162 | $settings->setLanguageMode(null); |
| 163 | 163 | $settings->setRespectSysLanguage(true); |
| 164 | - $settings->setLanguageUid((int) $data['sys_language_uid']); |
|
| 164 | + $settings->setLanguageUid((int)$data['sys_language_uid']); |
|
| 165 | 165 | } |
| 166 | 166 | $object = $query->execute()->getFirst(); |
| 167 | 167 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Icon helper. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Utility; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 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 | |
@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | /** |
| 4 | 4 | * TranslateUtility. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Utility; |
| 9 | 9 | |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | } |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | - return (string) $default; |
|
| 47 | + return (string)$default; |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | /** |
@@ -119,8 +119,8 @@ discard block |
||
| 119 | 119 | */ |
| 120 | 120 | protected static function useTableNameFileBase() |
| 121 | 121 | { |
| 122 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 122 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
| 123 | 123 | |
| 124 | - return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false; |
|
| 124 | + return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false; |
|
| 125 | 125 | } |
| 126 | 126 | } |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * |
| 6 | 6 | * General file information |
| 7 | 7 | */ |
| 8 | -declare(strict_types=1); |
|
| 8 | +declare(strict_types = 1); |
|
| 9 | 9 | |
| 10 | 10 | namespace HDNET\Autoloader\Utility; |
| 11 | 11 | |