Completed
Push — master ( 161673...ceaaa1 )
by Fabien
02:33
created
Classes/Module/ModuleLoader.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      */
175 175
     protected function getExistingMainConfiguration(): array
176 176
     {
177
-        $possibleConfiguration = $GLOBALS['TBE_MODULES']['_configuration'][$this->computeMainModule() . '_' . $this->getInternalModuleSignature()];
177
+        $possibleConfiguration = $GLOBALS['TBE_MODULES']['_configuration'][$this->computeMainModule().'_'.$this->getInternalModuleSignature()];
178 178
         return is_array($possibleConfiguration) ? $possibleConfiguration : [];
179 179
     }
180 180
 
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
             ExtensionUtility::registerModule(
297 297
                 'Fab.vidi',
298 298
                 $this->computeMainModule(),
299
-                $this->dataType . '_' . $this->moduleKey,
299
+                $this->dataType.'_'.$this->moduleKey,
300 300
                 $this->position,
301 301
                 [
302 302
                     'Content' => 'index, list, delete, update, edit, copy, move, localize, sort, copyClipboard, moveClipboard',
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
      */
359 359
     public function getParameterPrefix(): string
360 360
     {
361
-        return 'tx_vidi_' . strtolower($this->getSignature());
361
+        return 'tx_vidi_'.strtolower($this->getSignature());
362 362
     }
363 363
 
364 364
     /**
@@ -1008,10 +1008,10 @@  discard block
 block discarded – undo
1008 1008
         if ($dataType === null) {
1009 1009
             $dataType = $this->dataType;
1010 1010
         }
1011
-        $subModuleName = $dataType . '_' . $this->moduleKey;
1011
+        $subModuleName = $dataType.'_'.$this->moduleKey;
1012 1012
 
1013
-        $mainModule = $this->mainModule ? : self::DEFAULT_MAIN_MODULE;
1014
-        return $mainModule . '_Vidi' . GeneralUtility::underscoredToUpperCamelCase($subModuleName);
1013
+        $mainModule = $this->mainModule ?: self::DEFAULT_MAIN_MODULE;
1014
+        return $mainModule.'_Vidi'.GeneralUtility::underscoredToUpperCamelCase($subModuleName);
1015 1015
     }
1016 1016
 
1017 1017
 }
Please login to merge, or discard this patch.