chore: code style and type declaration improvements

This commit is contained in:
xboard
2025-07-15 02:55:58 +08:00
parent b55a56d6a7
commit d30e9cb30b
6 changed files with 68 additions and 54 deletions
+4 -4
View File
@@ -266,9 +266,9 @@ class XboardInstall extends Command
/**
* 配置 MySQL 数据库
*
* @return array|null
* @return array
*/
private function configureMysql(): ?array
private function configureMysql(): array
{
while (true) {
$envConfig = [
@@ -312,9 +312,9 @@ class XboardInstall extends Command
/**
* 配置 PostgreSQL 数据库
*
* @return array|null
* @return array
*/
private function configurePostgresql(): ?array
private function configurePostgresql(): array
{
while (true) {
$envConfig = [