Skip to content

Commit

Permalink
array_unshift
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Jan 7, 2025
1 parent 3be9d41 commit fa97939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/CommandBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fa97939

Please sign in to comment.