Skip to content

Commit 5d8eb84

Browse files
authored
Update FilesystemManager.php (#40321)
1 parent 5da821b commit 5d8eb84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Filesystem/FilesystemManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function createS3Driver(array $config)
227227
{
228228
$s3Config = $this->formatS3Config($config);
229229

230-
$root = $s3Config['root'] ?? null;
230+
$root = (string) ($s3Config['root'] ?? '');
231231

232232
$visibility = new AwsS3PortableVisibilityConverter(
233233
$config['visibility'] ?? Visibility::PUBLIC

0 commit comments

Comments
 (0)