@@ -3,7 +3,7 @@ |
||
| 3 | 3 | /** |
| 4 | 4 | * Content Controller. |
| 5 | 5 | */ |
| 6 | -declare(strict_types=1); |
|
| 6 | +declare(strict_types = 1); |
|
| 7 | 7 | |
| 8 | 8 | namespace HDNET\Autoloader\Controller; |
| 9 | 9 | |
@@ -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 @@ 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 | } |
@@ -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 | |