Skip to content

Commit 26a9deb

Browse files
authored
Update filesystem.md
1 parent e09b20d commit 26a9deb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

filesystem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,12 @@ By default, this method will use your default disk. If you would like to specify
341341
'avatars/'.$request->user()->id, 's3'
342342
);
343343

344-
If you are using the `storeAs` method, pass the disk name in a third argument of options array:
344+
If you are using the `storeAs` method, you may pass the disk name as the third argument to the method:
345345

346346
$path = $request->file('avatar')->storeAs(
347347
'avatars',
348348
$request->user()->id,
349-
['disk' => 's3']
349+
's3'
350350
);
351351

352352
#### Other File Information

0 commit comments

Comments
 (0)