Skip to content

Commit

Permalink
chore: Ensure code style consistency across the codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislarsen authored and github-actions[bot] committed Jun 14, 2024
1 parent a79421b commit 4447511
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Services/Backup/BackupDestinations/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class S3 implements BackupDestinationInterface
use BackupHelpers;

protected S3Client $client;

protected string $bucketName;

public function __construct(S3Client $client, string $bucketName)
Expand Down Expand Up @@ -59,7 +60,7 @@ public function streamFiles(SFTP $sftp, string $remoteZipPath, string $fileName,
$tempFile = $this->downloadFileViaSFTP($sftp, $remoteZipPath);
$stream = $this->openFileAsStream($tempFile);

$fullPath = $storagePath . '/' . $fileName;
$fullPath = $storagePath.'/'.$fileName;
$filesystem->writeStream($fullPath, $stream);
fclose($stream);
Log::debug('Stream written to S3.', ['file_name' => $fullPath]);
Expand Down

0 comments on commit 4447511

Please sign in to comment.