mirror of
https://github.com/pelican-dev/panel.git
synced 2025-07-28 09:02:14 +02:00
app(services): fix DeployServerDatabaseService phpstan
This commit is contained in:
parent
733771ae75
commit
0af39492e3
@ -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, [
|
||||
|
Loading…
x
Reference in New Issue
Block a user