diff --git a/index.php b/index.php index 8261e4e6..32c4d4df 100644 --- a/index.php +++ b/index.php @@ -1130,7 +1130,7 @@ public function currentStep(): array { return $jsonData; } - public function getUpdateStepFileLocation() { + public function getUpdateStepFileLocation(): string { $updaterDir = $this->getUpdateDirectoryLocation() . '/updater-'.$this->getConfigOption('instanceid'); return $updaterDir . '/.step'; } @@ -1307,7 +1307,7 @@ public function isAuthenticated(): bool { sprintf( 'Step %d is currently in process. Please reload this page later or remove the following file to start from scratch: %s', $stepNumber, - $this->updater->getUpdateStepFileLocation() + $updater->getUpdateStepFileLocation() ) ); } diff --git a/index.web.php b/index.web.php index 160ae047..62495575 100644 --- a/index.web.php +++ b/index.web.php @@ -95,7 +95,7 @@ public function isAuthenticated(): bool { sprintf( 'Step %d is currently in process. Please reload this page later or remove the following file to start from scratch: %s', $stepNumber, - $this->updater->getUpdateStepFileLocation() + $updater->getUpdateStepFileLocation() ) ); } diff --git a/lib/Updater.php b/lib/Updater.php index fd395740..73e3434d 100644 --- a/lib/Updater.php +++ b/lib/Updater.php @@ -1092,7 +1092,7 @@ public function currentStep(): array { return $jsonData; } - public function getUpdateStepFileLocation() { + public function getUpdateStepFileLocation(): string { $updaterDir = $this->getUpdateDirectoryLocation() . '/updater-'.$this->getConfigOption('instanceid'); return $updaterDir . '/.step'; } diff --git a/updater.phar b/updater.phar index 4d7c50f3..b6240527 100755 Binary files a/updater.phar and b/updater.phar differ