@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /** |
5 | 5 | * XML writer. |
6 | 6 | */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /** |
5 | 5 | * Interface for L10N file writers. |
6 | 6 | */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /** |
5 | 5 | * Abstraction of the Writer. |
6 | 6 | */ |
@@ -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 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /** |
5 | 5 | * Central Loader object. |
6 | 6 | */ |
@@ -3,7 +3,7 @@ discard block |
||
3 | 3 | /** |
4 | 4 | * Clear Cache hook for the Backend. |
5 | 5 | */ |
6 | -declare(strict_types=1); |
|
6 | +declare(strict_types = 1); |
|
7 | 7 | |
8 | 8 | namespace HDNET\Autoloader\Hooks; |
9 | 9 | |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | return ''; |
87 | 87 | } |
88 | 88 | |
89 | - return (string) $uri; |
|
89 | + return (string)$uri; |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -96,9 +96,9 @@ discard block |
||
96 | 96 | */ |
97 | 97 | protected function isAlwaysActivated() |
98 | 98 | { |
99 | - $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
99 | + $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']); |
|
100 | 100 | |
101 | - return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool) $configuration['enableAutoloaderClearCacheInProduction'] : false; |
|
101 | + return isset($configuration['enableAutoloaderClearCacheInProduction']) ? (bool)$configuration['enableAutoloaderClearCacheInProduction'] : false; |
|
102 | 102 | } |
103 | 103 | |
104 | 104 | /** |
@@ -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 | } |