@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * Get the correct LLL string for the given key and extension. |
| 79 | 79 | * |
| 80 | 80 | * @param string $key |
| 81 | - * @param $extensionKey |
|
| 81 | + * @param string $extensionKey |
|
| 82 | 82 | * @param string $file |
| 83 | 83 | * @param string $tableName |
| 84 | 84 | * |
@@ -3,7 +3,7 @@ |
||
| 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 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * Get the TCA information of the given data sets. |
| 58 | 58 | * |
| 59 | 59 | * @param $implementations |
| 60 | - * @param $table |
|
| 60 | + * @param string $table |
|
| 61 | 61 | * |
| 62 | 62 | * @return array |
| 63 | 63 | */ |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * Get the SQL information of the given data sets. |
| 79 | 79 | * |
| 80 | - * @param $table |
|
| 80 | + * @param string $table |
|
| 81 | 81 | * |
| 82 | 82 | * @return array |
| 83 | 83 | */ |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * Get the SQL Key information of the given data sets. |
| 98 | 98 | * |
| 99 | 99 | * @param $implementations |
| 100 | - * @param $table |
|
| 100 | + * @param string $table |
|
| 101 | 101 | * |
| 102 | 102 | * @return array |
| 103 | 103 | */ |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Central DataSet object. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader; |
| 9 | 9 | |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | * check if the class is loadable and is instantiable |
| 157 | 157 | * (exists and is no interface or abstraction etc.). |
| 158 | 158 | * |
| 159 | - * @param $class |
|
| 159 | + * @param string $class |
|
| 160 | 160 | * |
| 161 | 161 | * @return bool |
| 162 | 162 | */ |
@@ -240,9 +240,9 @@ discard block |
||
| 240 | 240 | * Build the loader information. |
| 241 | 241 | * |
| 242 | 242 | * @param $objects |
| 243 | - * @param $type |
|
| 243 | + * @param integer $type |
|
| 244 | 244 | * |
| 245 | - * @return array |
|
| 245 | + * @return string |
|
| 246 | 246 | */ |
| 247 | 247 | protected function buildLoaderInformation($objects, $type) |
| 248 | 248 | { |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Central Loader object. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader; |
| 9 | 9 | |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | /** |
| 290 | 290 | * Check if the class is tagged with noHeader. |
| 291 | 291 | * |
| 292 | - * @param $class |
|
| 292 | + * @param string $class |
|
| 293 | 293 | */ |
| 294 | 294 | protected function isTaggedWithNoHeader($class): bool |
| 295 | 295 | { |
@@ -352,7 +352,7 @@ discard block |
||
| 352 | 352 | /** |
| 353 | 353 | * Same as getClassProperties, but the fields are in LowerCaseUnderscored. |
| 354 | 354 | * |
| 355 | - * @param $className |
|
| 355 | + * @param string $className |
|
| 356 | 356 | * |
| 357 | 357 | * @return array |
| 358 | 358 | */ |
@@ -3,7 +3,7 @@ discard block |
||
| 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 | |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | $nameMapperService = GeneralUtility::makeInstance(NameMapperService::class); |
| 362 | 362 | $tableName = ModelUtility::getTableName($className); |
| 363 | 363 | |
| 364 | - return array_map(function ($value) use ($nameMapperService, $tableName) { |
|
| 364 | + return array_map(function($value) use ($nameMapperService, $tableName) { |
|
| 365 | 365 | return $nameMapperService->getDatabaseFieldName($tableName, $value); |
| 366 | 366 | }, ReflectionUtility::getDeclaringProperties($className)); |
| 367 | 367 | } |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | /** |
| 41 | 41 | * Get the query for the given class name oder object. |
| 42 | 42 | * |
| 43 | - * @param string|object $objectName |
|
| 43 | + * @param string $objectName |
|
| 44 | 44 | * |
| 45 | 45 | * @return \TYPO3\CMS\Extbase\Persistence\QueryInterface |
| 46 | 46 | */ |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | /** |
| 84 | 84 | * Log into the TYPO3_CONF_VARS to get more information in the backend. |
| 85 | 85 | * |
| 86 | - * @param $message |
|
| 86 | + * @param string $message |
|
| 87 | 87 | */ |
| 88 | 88 | public static function log($message): void |
| 89 | 89 | { |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Utility functions for the Autoloader. |
| 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 | * XML writer. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Abstraction of the Writer. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Xliff writer. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Interface for L10N file writers. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Localization\Writer; |
| 9 | 9 | |