Skip to content

Commit

Permalink
DQA-8654: Align project information with new structure (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocsilva authored Feb 2, 2024
1 parent d0884c5 commit b2e2a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TaskRunner/Commands/DockerCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ private function getProjectPhpFromWebsite(string $projectId): array
// Get the php version from the production environment.
if (!empty($data['environments'])) {
foreach ($data['environments'] as $env) {
if (!empty($data['php_version']) && $env['type'] === 'Production') {
return ['php_version' => $data['php_version']];
if (!empty($env['php_version']) && $env['type'] === 'Production') {
return ['php_version' => $env['php_version']];
}
}
}
Expand Down

0 comments on commit b2e2a0a

Please sign in to comment.