update: misc fixes.

This commit is contained in:
Darshan
2026-01-26 17:14:31 +05:30
parent 6345802b1a
commit 289c3e233e
3 changed files with 3 additions and 3 deletions
@@ -418,7 +418,7 @@ class HttpHandler
if (isset($stored[$field]) && isset($input[$field])) {
$storedValue = (string) $stored[$field];
$inputValue = (string) $input[$field];
if ($field === 'httpPort' || $field === 'httpsPort') {
if (in_array($field, ['httpPort', 'httpsPort'], true)) {
$storedValue = trim($storedValue);
$inputValue = trim($inputValue);
}
+1 -1
View File
@@ -94,7 +94,7 @@ class Server
$this->state->applyEnvConfig($cfg);
$host = self::INSTALLER_WEB_HOST;
$port = (string)self::INSTALLER_WEB_PORT;
$port = (string) self::INSTALLER_WEB_PORT;
$isMock = $cfg->isMock();
if (isset($opts['clean'])) {
+1 -1
View File
@@ -370,7 +370,7 @@ class Install extends Action
return file_exists($this->path . '/' . $this->getEnvFileName());
}
private function updateProgress(?callable $progress, string $step, string $status, array $messages = [], array $details = [], ?string $messageOverride = null): void
private function updateProgress(?callable $progress, string $step, string $status, array $messages, array $details = [], ?string $messageOverride = null): void
{
if (!$progress) {
return;