From b49725cb1c2e62812dea71c121500ee9af4ffa99 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 8 Sep 2023 09:37:58 +0200 Subject: [PATCH] fix: bug --- app/Jobs/DatabaseBackupJob.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Jobs/DatabaseBackupJob.php b/app/Jobs/DatabaseBackupJob.php index a6e0926f1..98972f7af 100644 --- a/app/Jobs/DatabaseBackupJob.php +++ b/app/Jobs/DatabaseBackupJob.php @@ -24,22 +24,22 @@ class DatabaseBackupJob implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public Team|null $team = null; + public ?Team $team = null; public Server $server; - public ScheduledDatabaseBackup|null $backup; + public ?ScheduledDatabaseBackup $backup = null; public string $database_type; - public StandalonePostgresql $database; + public ?StandalonePostgresql $database = null; public string $database_status; - public string|null $container_name = null; - public ScheduledDatabaseBackupExecution|null $backup_log = null; + public ?string $container_name = null; + public ?ScheduledDatabaseBackupExecution $backup_log = null; public string $backup_status; - public string|null $backup_location = null; + public ?string $backup_location = null; public string $backup_dir; public string $backup_file; public int $size = 0; - public string|null $backup_output = null; - public S3Storage|null $s3 = null; + public ?string $backup_output = null; + public ?S3Storage $s3 = null; public function __construct($backup) {