Skip to content

Commit 5ad1635

Browse files
committed
docs: format code
1 parent 3da4a39 commit 5ad1635

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README-CN.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Storage::disk("oss")->directories("dir/path");
116116
Storage::disk("oss")->allDirectories("dir/path");
117117
```
118118
119-
#### 使用宏扩展
119+
#### 使用 Macro
120120
```php
121121
Storage::disk("oss")->appendObject("dir/path/news.txt", "The first line paragraph.", 0);
122122
Storage::disk("oss")->appendObject("dir/path/news.txt", "The second line paragraph.", 25);
@@ -127,10 +127,10 @@ $position = Storage::disk("oss")->appendFile("dir/path/file.zip", "dir/path/file
127127
$position = Storage::disk("oss")->appendFile("dir/path/file.zip", "dir/path/file.zip.003", $position);
128128
```
129129
130-
#### 使用 `OssClient`
130+
#### 使用 OssClient
131131
```php
132-
$client = Storage::disk("oss")->getAdapter()->getClient();
133-
$bucketCors = $client->getBucketCors("bucket-name")
132+
$ossClient = Storage::disk("oss")->getAdapter()->getClient();
133+
$bucketCors = $ossClient->getBucketCors("bucket-name")
134134
```
135135
136136
## 文档

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ $position = Storage::disk("oss")->appendFile("dir/path/file.zip", "dir/path/file
127127
$position = Storage::disk("oss")->appendFile("dir/path/file.zip", "dir/path/file.zip.003", $position);
128128
```
129129
130-
#### Use `OssClient`
130+
#### Use OssClient
131131
```php
132-
$client = Storage::disk("oss")->getAdapter()->getClient();
133-
$bucketCors = $client->getBucketCors("bucket-name")
132+
$ossClient = Storage::disk("oss")->getAdapter()->getClient();
133+
$bucketCors = $ossClient->getBucketCors("bucket-name")
134134
```
135135
136136
## Documentation

0 commit comments

Comments
 (0)