Skip to content

Commit

Permalink
Add Config const for retain_visibility option
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoordsij committed Nov 18, 2023
1 parent 2a1784e commit 8e038c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AwsS3V3Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ public function copy(string $source, string $destination, Config $config): void
try {
$visibility = $config->get(Config::OPTION_VISIBILITY);

if ($visibility === null && $config->get('retain_visibility', true)) {
if ($visibility === null && $config->get(Config::OPTION_RETAIN_VISIBILITY, true)) {
$visibility = $this->visibility($source)->visibility();
}
} catch (Throwable $exception) {
Expand Down

0 comments on commit 8e038c7

Please sign in to comment.