mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
update: misc fixes.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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'])) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user