cleanup, switch to attributes
This commit is contained in:
parent
f631ac1946
commit
ba7ff571e5
9 changed files with 80 additions and 63 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue