Completed
Pull Request — master (#192)
by
unknown
53:44
created
Classes/Configuration/VidiModulesAspect.php 2 patches
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -17,29 +17,29 @@
 block discarded – undo
17 17
 class VidiModulesAspect implements TableConfigurationPostProcessingHookInterface
18 18
 {
19 19
 
20
-    /**
21
-     * Initialize and populate TBE_MODULES_EXT with default data.
22
-     *
23
-     * @return void
24
-     */
25
-    public function processData()
26
-    {
27
-
28
-        /** @var \Fab\Vidi\Module\ModuleLoader $moduleLoader */
29
-        $moduleLoader = GeneralUtility::makeInstance(\Fab\Vidi\Module\ModuleLoader::class);
30
-
31
-
32
-        $configuration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
33
-            \TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class
34
-        )->get('vidi');
35
-
36
-        foreach (GeneralUtility::trimExplode(',', $configuration['data_types'],true) as $dataType) {
37
-            if (!$moduleLoader->isRegistered($dataType)) {
38
-                $moduleLoader->setDataType($dataType)
39
-                    #->isShown(false)
40
-                    ->register();
41
-            }
42
-        }
43
-    }
20
+	/**
21
+	 * Initialize and populate TBE_MODULES_EXT with default data.
22
+	 *
23
+	 * @return void
24
+	 */
25
+	public function processData()
26
+	{
27
+
28
+		/** @var \Fab\Vidi\Module\ModuleLoader $moduleLoader */
29
+		$moduleLoader = GeneralUtility::makeInstance(\Fab\Vidi\Module\ModuleLoader::class);
30
+
31
+
32
+		$configuration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
33
+			\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class
34
+		)->get('vidi');
35
+
36
+		foreach (GeneralUtility::trimExplode(',', $configuration['data_types'],true) as $dataType) {
37
+			if (!$moduleLoader->isRegistered($dataType)) {
38
+				$moduleLoader->setDataType($dataType)
39
+					#->isShown(false)
40
+					->register();
41
+			}
42
+		}
43
+	}
44 44
 
45 45
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             \TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class
34 34
         )->get('vidi');
35 35
 
36
-        foreach (GeneralUtility::trimExplode(',', $configuration['data_types'],true) as $dataType) {
36
+        foreach (GeneralUtility::trimExplode(',', $configuration['data_types'], true) as $dataType) {
37 37
             if (!$moduleLoader->isRegistered($dataType)) {
38 38
                 $moduleLoader->setDataType($dataType)
39 39
                     #->isShown(false)
Please login to merge, or discard this patch.