mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
app(services): fix DeployServerDatabaseService phpstan
This commit is contained in:
@@ -38,7 +38,9 @@ class DeployServerDatabaseService
|
||||
throw new NoSuitableDatabaseHostException();
|
||||
}
|
||||
|
||||
$databaseHostId = $hosts->random()->id;
|
||||
/** @var \Pterodactyl\Models\DatabaseHost $databaseHost */
|
||||
$databaseHost = $hosts->random();
|
||||
$databaseHostId = $databaseHost->id;
|
||||
}
|
||||
|
||||
return $this->managementService->create($server, [
|
||||
|
||||
Reference in New Issue
Block a user