N°9144 Fix code style

This commit is contained in:
Timmy38
2026-04-24 09:12:31 +02:00
parent d0ddb35f8d
commit d358c41c24
3 changed files with 3 additions and 3 deletions

View File

@@ -1562,7 +1562,7 @@ EOF;
foreach ($aStatesOrder as $sState => $foo) {
$oState = $aStates[$sState];
$oInitialStatePath = $oState->GetOptionalElement('initial_state_path');
$sLifecycle .= " MetaModel::Init_DefineState(\n";
$sLifecycle .= " \"".$sState."\",\n";
$sLifecycle .= " array(\n";

View File

@@ -1621,7 +1621,7 @@ class RunTimeEnvironment
$aExtensionDirs = [];
foreach ($this->GetExtensionMap()->GetAllExtensions() as $oExtension) {
if ($oExtension->bMarkedAsChosen && is_dir($oExtension->sSourceDir)) {
$aExtensionDirs []= $oExtension->sSourceDir;
$aExtensionDirs [] = $oExtension->sSourceDir;
}
}

View File

@@ -145,7 +145,7 @@ class WizStepModulesChoice extends WizardStep
throw new Exception('Internal error: invalid step "'.$index.'" for the choice of modules.');
} elseif ($bMoveForward) {
if ($this->GetStepInfo(1 + $index) != null) {
return new WizardState(WizStepModulesChoice::class, (string)($index +1));
return new WizardState(WizStepModulesChoice::class, (string)($index + 1));
} else {
// Exiting this step of the wizard, let's convert the selection into a list of modules
$aModules = [];