Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Fix styling

andrasbacsaif22d7741a3fa
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index 2e37745fd1..66223e26c6 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -2029,9 +2029,10 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");
}
/**
- * @param integer $timeout in seconds
+ * @param int $timeout in seconds
*/
- private function graceful_shutdown_container(string $containerName, int $timeout = 300) {
+ private function graceful_shutdown_container(string $containerName, int $timeout = 300)
+ {
try {
return $this->execute_remote_command(
["docker stop --time=$timeout $containerName > /dev/null 2>&1", 'hidden' => true],