@@ -565,7 +565,7 @@ |
||
| 565 | 565 | * @param string $path |
| 566 | 566 | * @param \DateTimeInterface|int $expiration |
| 567 | 567 | * @param array $options |
| 568 | - * @return string |
|
| 568 | + * @return \OSS\Http\ResponseCore |
|
| 569 | 569 | * |
| 570 | 570 | * @throws \RuntimeException |
| 571 | 571 | */ |
@@ -112,6 +112,7 @@ |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * {@inheritdoc} |
| 115 | + * @param string $path |
|
| 115 | 116 | */ |
| 116 | 117 | public function getVisibility($path) |
| 117 | 118 | { |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | $filesystemConfig = $appConfig->get('filesystem'); |
| 19 | 19 | if($appConfig->has('aliyun-oss')){ |
| 20 | 20 | $filesystemConfig['disks']['aliyun'] = $appConfig->get('aliyun-oss'); |
| 21 | - }else{ |
|
| 21 | + } else{ |
|
| 22 | 22 | $filesystemConfig['disks']['aliyun'] = require __DIR__.'/config/config.php'; |
| 23 | 23 | } |
| 24 | 24 | $filesystemConfig['disks']['aliyun']['type'] = AliyunOssDriver::class; |