format muhahaha

This commit is contained in:
Andras Bacsai
2023-08-11 20:48:52 +02:00
parent c762195c8a
commit 82a01b4483
109 changed files with 295 additions and 244 deletions

View File

@@ -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();

View File

@@ -25,8 +25,7 @@ class ApplicationPullRequestUpdateJob implements ShouldQueue
public int $pull_request_id,
public string $deployment_uuid,
public string $status
)
{
) {
}
public function handle()

View File

@@ -20,8 +20,7 @@ class CoolifyTask implements ShouldQueue
public function __construct(
public Activity $activity,
public bool $ignore_errors = false,
)
{
) {
}
/**

View File

@@ -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,
]);
}
}

View File

@@ -28,8 +28,7 @@ class SendMessageToDiscordJob implements ShouldQueue
public function __construct(
public string $text,
public string $webhookUrl
)
{
) {
}
/**