mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 23:32:17 +02:00
N°9144 Fix code style
This commit is contained in:
@@ -1562,7 +1562,7 @@ EOF;
|
|||||||
foreach ($aStatesOrder as $sState => $foo) {
|
foreach ($aStatesOrder as $sState => $foo) {
|
||||||
$oState = $aStates[$sState];
|
$oState = $aStates[$sState];
|
||||||
$oInitialStatePath = $oState->GetOptionalElement('initial_state_path');
|
$oInitialStatePath = $oState->GetOptionalElement('initial_state_path');
|
||||||
|
|
||||||
$sLifecycle .= " MetaModel::Init_DefineState(\n";
|
$sLifecycle .= " MetaModel::Init_DefineState(\n";
|
||||||
$sLifecycle .= " \"".$sState."\",\n";
|
$sLifecycle .= " \"".$sState."\",\n";
|
||||||
$sLifecycle .= " array(\n";
|
$sLifecycle .= " array(\n";
|
||||||
|
|||||||
@@ -1621,7 +1621,7 @@ class RunTimeEnvironment
|
|||||||
$aExtensionDirs = [];
|
$aExtensionDirs = [];
|
||||||
foreach ($this->GetExtensionMap()->GetAllExtensions() as $oExtension) {
|
foreach ($this->GetExtensionMap()->GetAllExtensions() as $oExtension) {
|
||||||
if ($oExtension->bMarkedAsChosen && is_dir($oExtension->sSourceDir)) {
|
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.');
|
throw new Exception('Internal error: invalid step "'.$index.'" for the choice of modules.');
|
||||||
} elseif ($bMoveForward) {
|
} elseif ($bMoveForward) {
|
||||||
if ($this->GetStepInfo(1 + $index) != null) {
|
if ($this->GetStepInfo(1 + $index) != null) {
|
||||||
return new WizardState(WizStepModulesChoice::class, (string)($index +1));
|
return new WizardState(WizStepModulesChoice::class, (string)($index + 1));
|
||||||
} else {
|
} else {
|
||||||
// Exiting this step of the wizard, let's convert the selection into a list of modules
|
// Exiting this step of the wizard, let's convert the selection into a list of modules
|
||||||
$aModules = [];
|
$aModules = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user