Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 23, 2024
1 parent eeb26ed commit 6815b83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Actions/ManagesServers.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public function createServer(array $data, $wait = false, $timeout = 900)

$server = $response['server'];
$initialSudoPassword = $response['sudo_password'] ?? null;
$initialDatabasePassword = $response['database_password'] ?? null;
$initialProvisionCommand = $response['provision_command'] ?? null;
$initialDatabasePassword = $response['database_password'] ?? null;
$initialProvisionCommand = $response['provision_command'] ?? null;

$server['sudo_password'] = $initialSudoPassword;
$server['database_password'] = $initialDatabasePassword;
$server['provision_command'] = $initialProvisionCommand;
Expand All @@ -56,9 +56,9 @@ public function createServer(array $data, $wait = false, $timeout = 900)
return $this->retry($timeout, function () use ($server, $initialSudoPassword, $initialDatabasePassword, $initialProvisionCommand) {
$server = $this->server($server['id']);
$server->sudoPassword = $initialSudoPassword;
$server->databasePassword = $initialDatabasePassword;
$server->provisionCommand = $initialProvisionCommand;
$server->databasePassword = $initialDatabasePassword;
$server->provisionCommand = $initialProvisionCommand;

return $server->isReady ? $server : null;
}, 120);
}
Expand Down

0 comments on commit 6815b83

Please sign in to comment.