We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba84f6 commit 616af68Copy full SHA for 616af68
composer.json
@@ -33,7 +33,7 @@
33
"minimum-stability": "stable",
34
"require": {
35
"php": "^8.0",
36
- "league/flysystem": "^3.0.0",
+ "league/flysystem": "^3.10.0",
37
"illuminate/support": "^5.1 || ^6.0 || ^7.0 || ^9.0 || ^10.0",
38
"mikey179/vfsstream": "^1.6"
39
},
src/VfsFilesystemServiceProvider.php
@@ -1,5 +1,6 @@
1
<?php namespace STS\Filesystem;
2
3
+use Illuminate\Filesystem\FilesystemAdapter;
4
use Illuminate\Support\Facades\Storage;
5
use League\Flysystem\Filesystem;
6
use Illuminate\Support\ServiceProvider as ServiceProvider;
@@ -21,7 +22,8 @@ public function boot()
21
22
$vfsFileSystem = new Filesystem($client);
23
24
//return
- return $vfsFileSystem;
25
+// return $vfsFileSystem;
26
+ return new FilesystemAdapter($vfsFileSystem, $client);
27
});
28
29
}//end boot
0 commit comments