Skip to content

Commit

Permalink
set default value on cloud driver'
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 25, 2020
1 parent 04897e8 commit 0bb7fe4
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 @@ -326,7 +326,7 @@ public function getDefaultDriver()
*/
public function getDefaultCloudDriver()
{
return $this->app['config']['filesystems.cloud'];
return $this->app['config']['filesystems.cloud'] ?? 's3';
}

/**
Expand Down

0 comments on commit 0bb7fe4

Please sign in to comment.