Skip to content

Commit

Permalink
Merge pull request #56 from chenggx/patch-1
Browse files Browse the repository at this point in the history
修改获取上传 token,policy 参数传递格式限制错误
  • Loading branch information
overtrue authored Oct 21, 2022
2 parents eb4f850 + d178900 commit 9ba38a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QiniuAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public function getBucket(): string
return $this->bucket;
}

public function getUploadToken(string $key = null, int $expires = 3600, string $policy = null, string $strictPolice = null): string
public function getUploadToken(string $key = null, int $expires = 3600, array $policy = null, string $strictPolice = null): string
{
return $this->getAuthManager()->uploadToken($this->bucket, $key, $expires, $policy, $strictPolice);
}
Expand Down

0 comments on commit 9ba38a0

Please sign in to comment.