File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33
33
"minimum-stability" : " stable" ,
34
34
"require" : {
35
35
"php" : " ^8.0" ,
36
- "league/flysystem" : " ^3.0 .0" ,
36
+ "league/flysystem" : " ^3.10 .0" ,
37
37
"illuminate/support" : " ^5.1 || ^6.0 || ^7.0 || ^9.0 || ^10.0" ,
38
38
"mikey179/vfsstream" : " ^1.6"
39
39
},
Original file line number Diff line number Diff line change 1
1
<?php namespace STS \Filesystem ;
2
2
3
+ use Illuminate \Filesystem \FilesystemAdapter ;
3
4
use Illuminate \Support \Facades \Storage ;
4
5
use League \Flysystem \Filesystem ;
5
6
use Illuminate \Support \ServiceProvider as ServiceProvider ;
@@ -21,7 +22,8 @@ public function boot()
21
22
$ vfsFileSystem = new Filesystem ($ client );
22
23
23
24
//return
24
- return $ vfsFileSystem ;
25
+ // return $vfsFileSystem;
26
+ return new FilesystemAdapter ($ vfsFileSystem , $ client );
25
27
});
26
28
27
29
}//end boot
You can’t perform that action at this time.
0 commit comments