Skip to content

Commit f73cc56

Browse files
committed
document return value array[] ==> array
1 parent b0f70f7 commit f73cc56

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/Qiniu/Processing/Operation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct($domain, $auth = null, $token_expire = 3600)
2727
* @param $fops string|array fop操作,多次fop操作以array的形式传入。
2828
* eg. imageView2/1/w/200/h/200, imageMogr2/thumbnail/!75px
2929
*
30-
* @return array[] 文件处理后的结果及错误。
30+
* @return array 文件处理后的结果及错误。
3131
*
3232
* @link http://developer.qiniu.com/docs/v6/api/reference/fop/
3333
*/

src/Qiniu/Processing/PersistentFop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct($auth, $bucket, $pipeline = null, $notify_url = null
5555
* @param $fops string|array 待处理的pfop操作,多个pfop操作以array的形式传入。
5656
* eg. avthumb/mp3/ab/192k, vframe/jpg/offset/7/w/480/h/360
5757
*
58-
* @return array[] 返回持久化处理的persistentId, 和返回的错误。
58+
* @return array 返回持久化处理的persistentId, 和返回的错误。
5959
*
6060
* @link http://developer.qiniu.com/docs/v6/api/reference/fop/
6161
*/

src/Qiniu/Storage/BucketManager.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function buckets()
4242
* @param $limit 单次列举个数限制
4343
* @param $delimiter 指定目录分隔符
4444
*
45-
* @return array[] 包含文件信息的数组,类似:[
45+
* @return array 包含文件信息的数组,类似:[
4646
* {
4747
* "hash" => "<Hash string>",
4848
* "key" => "<Key string>",
@@ -83,7 +83,7 @@ public function listFiles($bucket, $prefix = null, $marker = null, $limit = 1000
8383
* @param $bucket 待获取信息资源所在的空间
8484
* @param $key 待获取资源的文件名
8585
*
86-
* @return array[] 包含文件信息的数组,类似:
86+
* @return array 包含文件信息的数组,类似:
8787
* [
8888
* "hash" => "<Hash string>",
8989
* "key" => "<Key string>",
@@ -111,7 +111,7 @@ public function stat($bucket, $key)
111111
public function delete($bucket, $key)
112112
{
113113
$path = '/delete/' . \Qiniu\entry($bucket, $key);
114-
list($_, $error) = $this->rsPost($path);
114+
list(, $error) = $this->rsPost($path);
115115
return $error;
116116
}
117117

@@ -196,7 +196,7 @@ public function changeMime($bucket, $key, $mime)
196196
* @param $bucket 目标资源空间
197197
* @param $key 目标资源文件名
198198
*
199-
* @return array[] 包含已拉取的文件信息。
199+
* @return array 包含已拉取的文件信息。
200200
* 成功时: [
201201
* [
202202
* "hash" => "<Hash string>",
@@ -242,7 +242,7 @@ public function prefetch($bucket, $key)
242242
*
243243
* @param $operations 资源管理操作数组
244244
*
245-
* @return array[] 每个资源的处理情况,结果类似:
245+
* @return array 每个资源的处理情况,结果类似:
246246
* [
247247
* { "code" => <HttpCode int>, "data" => <Data> },
248248
* { "code" => <HttpCode int> },

src/Qiniu/Storage/UploadManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct()
2828
* @param $mime 上传数据的mimeType
2929
* @param $checkCrc 是否校验crc32
3030
*
31-
* @return array[] 包含已上传文件的信息,类似:
31+
* @return array 包含已上传文件的信息,类似:
3232
* [
3333
* "hash" => "<Hash string>",
3434
* "key" => "<Key string>"
@@ -65,7 +65,7 @@ public function put(
6565
* @param $mime 上传数据的mimeType
6666
* @param $checkCrc 是否校验crc32
6767
*
68-
* @return array[] 包含已上传文件的信息,类似:
68+
* @return array 包含已上传文件的信息,类似:
6969
* [
7070
* "hash" => "<Hash string>",
7171
* "key" => "<Key string>"

0 commit comments

Comments
 (0)