mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 06:18:44 +02:00
N°9144 Fix code style
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user