Skip to content

Commit

Permalink
Merge pull request #29565 from thomasm789/patch-1
Browse files Browse the repository at this point in the history
Update FilesystemManager.php
  • Loading branch information
taylorotwell committed Aug 14, 2019
2 parents 43e7387 + 500418f commit 403b177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Filesystem/FilesystemManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ protected function formatS3Config(array $config)
{
$config += ['version' => 'latest'];

if ($config['key'] && $config['secret']) {
if (! empty($config['key']) && ! empty($config['secret'])) {
$config['credentials'] = Arr::only($config, ['key', 'secret', 'token']);
}

Expand Down

0 comments on commit 403b177

Please sign in to comment.