mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
format muhahaha
This commit is contained in:
@@ -434,7 +434,7 @@ class ApplicationDeploymentJob implements ShouldQueue
|
||||
}
|
||||
}
|
||||
// Add PORT if not exists, use the first port as default
|
||||
if ($environment_variables->filter(fn($env) => Str::of($env)->contains('PORT'))->isEmpty()) {
|
||||
if ($environment_variables->filter(fn ($env) => Str::of($env)->contains('PORT'))->isEmpty()) {
|
||||
$environment_variables->push("PORT={$ports[0]}");
|
||||
}
|
||||
return $environment_variables->all();
|
||||
|
||||
@@ -25,8 +25,7 @@ class ApplicationPullRequestUpdateJob implements ShouldQueue
|
||||
public int $pull_request_id,
|
||||
public string $deployment_uuid,
|
||||
public string $status
|
||||
)
|
||||
{
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle()
|
||||
|
||||
@@ -20,8 +20,7 @@ class CoolifyTask implements ShouldQueue
|
||||
public function __construct(
|
||||
public Activity $activity,
|
||||
public bool $ignore_errors = false,
|
||||
)
|
||||
{
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -157,7 +157,7 @@ class DatabaseBackupJob implements ShouldQueue
|
||||
}
|
||||
$key = $this->s3->key;
|
||||
$secret = $this->s3->secret;
|
||||
// $region = $this->s3->region;
|
||||
// $region = $this->s3->region;
|
||||
$bucket = $this->s3->bucket;
|
||||
$endpoint = $this->s3->endpoint;
|
||||
|
||||
@@ -183,6 +183,5 @@ class DatabaseBackupJob implements ShouldQueue
|
||||
'message' => $this->backup_output,
|
||||
'size' => $this->size,
|
||||
]);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,8 +28,7 @@ class SendMessageToDiscordJob implements ShouldQueue
|
||||
public function __construct(
|
||||
public string $text,
|
||||
public string $webhookUrl
|
||||
)
|
||||
{
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user