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:
@@ -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