From a2df1a61bacc5ae7b0e2f66a85d5e95344057ef2 Mon Sep 17 00:00:00 2001 From: Lewis Larsen Date: Sun, 7 Jul 2024 16:16:06 +0100 Subject: [PATCH] chore: duster fixes --- app/Rules/UniqueScheduledTimePerRemoteServer.php | 3 ++- app/Services/Backup/Destinations/Local.php | 3 ++- app/Services/Backup/Destinations/S3.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/Rules/UniqueScheduledTimePerRemoteServer.php b/app/Rules/UniqueScheduledTimePerRemoteServer.php index 8868f967..6df9cffb 100644 --- a/app/Rules/UniqueScheduledTimePerRemoteServer.php +++ b/app/Rules/UniqueScheduledTimePerRemoteServer.php @@ -14,7 +14,8 @@ class UniqueScheduledTimePerRemoteServer implements ValidationRule public function __construct( public int $remoteServerId, public ?int $taskId = null, - ) {} + ) { + } public function validate(string $attribute, mixed $value, Closure $fail): void { diff --git a/app/Services/Backup/Destinations/Local.php b/app/Services/Backup/Destinations/Local.php index 5f95acb9..b6283855 100644 --- a/app/Services/Backup/Destinations/Local.php +++ b/app/Services/Backup/Destinations/Local.php @@ -19,7 +19,8 @@ class Local implements BackupDestinationInterface public function __construct( protected SFTPInterface $sftp, protected string $storagePath - ) {} + ) { + } /** * @return array diff --git a/app/Services/Backup/Destinations/S3.php b/app/Services/Backup/Destinations/S3.php index a5c9adf7..2d8e076f 100644 --- a/app/Services/Backup/Destinations/S3.php +++ b/app/Services/Backup/Destinations/S3.php @@ -25,7 +25,8 @@ class S3 implements BackupDestinationInterface public function __construct( protected S3Client $client, protected string $bucketName - ) {} + ) { + } /** * @return array