Skip to content

Commit 55f13a6

Browse files
authored
Merge pull request #249 from jemygraw/master
fix code style
2 parents 1baeafd + 9d2c936 commit 55f13a6

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 7.2.2 (2017-11-06
4+
### 增加
5+
* Qiniu算法的鉴权方法
6+
37
## 7.1.4 (2017-06-21)
48
### 增加
59
* cdn 文件/目录 刷新

src/Qiniu/Auth.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,7 @@ public function privateDownloadUrl($baseUrl, $expires = 3600)
7171
return "$baseUrl&token=$token";
7272
}
7373

74-
public function uploadToken(
75-
$bucket,
76-
$key = null,
77-
$expires = 3600,
78-
$policy = null,
79-
$strictPolicy = true
80-
)
74+
public function uploadToken($bucket, $key = null, $expires = 3600, $policy = null, $strictPolicy = true)
8175
{
8276
$deadline = time() + $expires;
8377
$scope = $bucket;

src/Qiniu/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
final class Config
55
{
6-
const SDK_VER = '7.2.1';
6+
const SDK_VER = '7.2.2';
77

88
const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
99

0 commit comments

Comments
 (0)