@@ -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 | |
@@ -250,11 +250,11 @@ discard block |
||
| 250 | 250 | public static function getDeclaringProperties(string $className) |
| 251 | 251 | { |
| 252 | 252 | $classReflection = new \ReflectionClass($className); |
| 253 | - $own = array_filter($classReflection->getProperties(), function ($property) use ($className) { |
|
| 253 | + $own = array_filter($classReflection->getProperties(), function($property) use ($className) { |
|
| 254 | 254 | return trim((string)$property->class, '\\') === trim($className, '\\'); |
| 255 | 255 | }); |
| 256 | 256 | |
| 257 | - return array_map(function ($item) { |
|
| 257 | + return array_map(function($item) { |
|
| 258 | 258 | return (string)$item->name; |
| 259 | 259 | }, $own); |
| 260 | 260 | } |
@@ -3,7 +3,7 @@ |
||
| 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 | |
@@ -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 Plugins. |
| 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 @@ 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 | } |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Loading Hooks. |
| 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 | * ExtensionTypoScriptSetup. |
| 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 | * Add the smart object SQL string. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Slots; |
| 9 | 9 | |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Management for Smart Objects. |
| 5 | 5 | */ |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader; |
| 9 | 9 | |