Passed
Pull Request — master (#156)
by Stephan
03:02
created
Configuration/TCA/Overrides/tt_content.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if ( !defined( 'TYPO3_MODE' ) ) {
3
+if( !defined( 'TYPO3_MODE' ) ) {
4 4
     die( 'Access denied.' );
5 5
 }
6 6
 
7
-$registerPlugins = function (array $plugins, string $pluginGroup) {
8
-    foreach ( $plugins as $pluginName ) {
7
+$registerPlugins = function( array $plugins, string $pluginGroup ) {
8
+    foreach( $plugins as $pluginName ) {
9 9
         $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['aimeos_' . $pluginName] = 'pi_flexform';
10 10
         \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
11 11
             'aimeos_' . $pluginName,
@@ -15,8 +15,8 @@  discard block
 block discarded – undo
15 15
             'Aimeos.aimeos',
16 16
             $pluginName,
17 17
             'LLL:EXT:aimeos/Resources/Private/Language/admin.xlf:aimeos_' . $pluginName . '.title',
18
-            'aimeos_'  .$pluginName,
19
-            'Aimeos Shop: ' .$pluginGroup
18
+            'aimeos_' . $pluginName,
19
+            'Aimeos Shop: ' . $pluginGroup
20 20
         );
21 21
     }
22 22
 };
Please login to merge, or discard this patch.