diff --git a/src/Command/CommandBase.php b/src/Command/CommandBase.php index ab657e9ff..09ef0e790 100644 --- a/src/Command/CommandBase.php +++ b/src/Command/CommandBase.php @@ -1411,7 +1411,7 @@ private function getCloudSites(EnvironmentResponse $cloudEnvironment): array if ($process->isSuccessful() && $sites) { if ($key = array_search('default', $sites, true)) { unset($sites[$key]); - $sites = array_merge([0 => 'default'], $sites); + array_unshift($sites, 'default'); } return $sites; }