Skip to content

Commit

Permalink
follow non-inversion best practice
Browse files Browse the repository at this point in the history
  • Loading branch information
haymaker committed Mar 23, 2023
1 parent 828d1b4 commit 32f6d39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Storage/Device/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,10 @@ private function makeUri(): string
{
$base = '/';

if (! $this->vhost) {
return $base.$this->getBucket();
} else {
if ($this->vhost) {
return $base;
} else {
return $base.$this->getBucket();
}
}

Expand Down

0 comments on commit 32f6d39

Please sign in to comment.