@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Register for Smart Objects. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Register the aspect files and create the Xclass. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Hooks; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Add backend layouts. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Hooks; |
9 | 9 |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Custom Backend Preview for Elements like Content Objects. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Hooks; |
9 | 9 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @param string $itemContent Item content |
31 | 31 | * @param array $row Record row of tt_content |
32 | 32 | */ |
33 | - public function preProcess(PageLayoutView &$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row) |
|
33 | + public function preProcess(PageLayoutView&$parentObject, &$drawItem, &$headerContent, &$itemContent, array &$row) |
|
34 | 34 | { |
35 | 35 | if (!$this->isAutoloaderContenobject($row)) { |
36 | 36 | return; |
@@ -110,6 +110,6 @@ discard block |
||
110 | 110 | { |
111 | 111 | $ctype = $row['CType']; |
112 | 112 | |
113 | - return (bool) $GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['ContentObject'][$ctype]; |
|
113 | + return (bool)$GLOBALS['TYPO3_CONF_VARS']['AUTOLOADER']['ContentObject'][$ctype]; |
|
114 | 114 | } |
115 | 115 | } |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * handler to create the labels. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Hooks; |
9 | 9 | |
@@ -45,8 +45,8 @@ discard block |
||
45 | 45 | */ |
46 | 46 | protected function useTableNameFileBase() |
47 | 47 | { |
48 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
48 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
49 | 49 | |
50 | - return isset($configuration['enableLanguageFileOnTableBase']) ? (bool) $configuration['enableLanguageFileOnTableBase'] : false; |
|
50 | + return isset($configuration['enableLanguageFileOnTableBase']) ? (bool)$configuration['enableLanguageFileOnTableBase'] : false; |
|
51 | 51 | } |
52 | 52 | } |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Exception. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * data set interface. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Mapper for variables types to TCA and DB information. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader; |
9 | 9 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | /** |
4 | 4 | * Local singleton interface to reduce dependencies. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader; |
9 | 9 |