@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /** |
5 | 5 | * Utility to interact with the Model. |
6 | 6 | */ |
@@ -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 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /** |
5 | 5 | * Tca UserFunctions. |
6 | 6 | */ |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * TempClassAutoloader.php. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Autoload; |
9 | 9 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /** |
5 | 5 | * Edit link for the backend. |
6 | 6 | */ |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Loading FlexForms. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Loader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Loading SmartObjects. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Loader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Loading Slots. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Loader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Loading LanguageOverride. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Loader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Loading Aspect. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Loader; |
9 | 9 |