|
@@ -22,12 +22,12 @@ class FileSystemServiceProvider extends ServiceProvider
|
|
|
|
|
|
$filesystem = new Filesystem($adapter);
|
|
|
|
|
|
- return new class($filesystem, $config) extends FilesystemAdapter {
|
|
|
+ return new class($filesystem, [], $config) extends FilesystemAdapter {
|
|
|
protected $config;
|
|
|
|
|
|
- public function __construct(FilesystemOperator $adapter, $config)
|
|
|
+ public function __construct(FilesystemOperator $adapter, array $visibility = [], array $config = [])
|
|
|
{
|
|
|
- parent::__construct($adapter);
|
|
|
+ parent::__construct($adapter, $visibility, $config);
|
|
|
$this->config = $config;
|
|
|
}
|
|
|
|