Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 17, 2024
1 parent 0d21659 commit ff9032d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected function buildDockerCompose(array $services)

$yaml = Yaml::dump($compose, Yaml::DUMP_OBJECT_AS_MAP);

$yaml = str_replace('{{PHP_VERSION}}', $this->option('php', '8.3'), $yaml);
$yaml = str_replace('{{PHP_VERSION}}', $this->hasOption('php') ? $this->option('php') : '8.3', $yaml);

file_put_contents($this->laravel->basePath('docker-compose.yml'), $yaml);
}
Expand Down

0 comments on commit ff9032d

Please sign in to comment.