Updated controllers, install and modules for PHP 8.x compatibility

This commit is contained in:
vishalsingh.qlo325
2025-05-23 15:08:00 +05:30
parent b9dbc449fe
commit 2f9c64d0fb
173 changed files with 688 additions and 939 deletions

View File

@@ -266,7 +266,7 @@ abstract class InstallControllerHttp
*/
public function findPreviousStep()
{
return (isset(self::$steps[$this->getStepOffset($this->step) - 1])) ? self::$steps[$this->getStepOffset($this->step) - 1] : false;
return (isset(self::$steps[self::getStepOffset($this->step) - 1])) ? self::$steps[self::getStepOffset($this->step) - 1] : false;
}
/**
@@ -276,7 +276,7 @@ abstract class InstallControllerHttp
*/
public function findNextStep()
{
$nextStep = (isset(self::$steps[$this->getStepOffset($this->step) + 1])) ? self::$steps[$this->getStepOffset($this->step) + 1] : false;
$nextStep = (isset(self::$steps[self::getStepOffset($this->step) + 1])) ? self::$steps[self::getStepOffset($this->step) + 1] : false;
if ($nextStep == 'system' && self::$instances[$nextStep]->validate()) {
$nextStep = self::$instances[$nextStep]->findNextStep();
}