Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
secrethash committed Dec 11, 2024
1 parent be9e4c2 commit d25a575
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Bucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,10 @@ public function getErrorMessage(): string|null
'error_message' => $this->e?->getAwsErrorMessage(),
'response' => $this->e?->getResponse(),
];

return "[tenant-buckets] Error: (Tenant ID: {$this->tenant->id}) {$this->e->getAwsErrorMessage()} ". json_encode($data);
}

return null;
}

Expand Down
4 changes: 3 additions & 1 deletion src/Jobs/CreateTenantBucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ class CreateTenantBucket implements ShouldQueue
*
* @return void
*/
public function __construct(protected Tenant $tenant) {}
public function __construct(protected Tenant $tenant)
{
}

/**
* Execute the job.
Expand Down
4 changes: 3 additions & 1 deletion src/Jobs/DeleteTenantBucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ class DeleteTenantBucket implements ShouldQueue
*
* @return void
*/
public function __construct(protected Tenant $tenant) {}
public function __construct(protected Tenant $tenant)
{
}

/**
* Execute the job.
Expand Down

0 comments on commit d25a575

Please sign in to comment.