Skip to content

Commit ef0df2a

Browse files
authored
Merge pull request #60 from xcaptain/patch-1
手动指明Storage命名空间
2 parents 057850d + 6e2ea3b commit ef0df2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/QiniuFilesystemServiceProvider.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php namespace zgldh\QiniuStorage;
22

3+
use Illuminate\Support\Facades\Storage;
34
use League\Flysystem\Filesystem;
45
use Illuminate\Support\ServiceProvider;
56
use zgldh\QiniuStorage\Plugins\DownloadUrl;
@@ -23,7 +24,7 @@ class QiniuFilesystemServiceProvider extends ServiceProvider
2324

2425
public function boot()
2526
{
26-
\Storage::extend(
27+
Storage::extend(
2728
'qiniu',
2829
function ($app, $config) {
2930
if (isset($config['domains'])) {

0 commit comments

Comments
 (0)