Completed
Pull Request — master (#16)
by frey
02:26
created
src/Client/Auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     /**
32 32
      * 生成单次有效签名函数(用于删除和更新指定fileId资源,使用一次即失效).
33 33
      *
34
-     * @param string $fileId     文件路径,以 /{$appId}/{$bucketName} 开头
35 34
      * @param string $bucketName 文件所在bucket
35
+     * @param string $path
36 36
      *
37 37
      * @return string 签名
38 38
      */
Please login to merge, or discard this patch.
src/Client/Cosapi.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,6 +197,10 @@  discard block
 block discarded – undo
197 197
      * 'Content-Language' => '*'
198 198
      * 'x-cos-meta-自定义内容' => '*'
199 199
      */
200
+
201
+    /**
202
+     * @param string $authority
203
+     */
200 204
     public static function update($bucketName, $path,
201 205
                   $bizAttr = null, $authority = null, $customer_headers_array = null)
202 206
     {
@@ -866,8 +870,8 @@  discard block
 block discarded – undo
866 870
     /**
867 871
      * 判断pattern值是否正确.
868 872
      *
869
-     * @param string $authority
870 873
      *
874
+     * @param string $pattern
871 875
      * @return [type] bool
872 876
      */
873 877
     private static function isPatternValid($pattern)
Please login to merge, or discard this patch.
src/Adapter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-     * @return mixed
48
+     * @return string
49 49
      */
50 50
     public function getBucket()
51 51
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @param $path
56
+     * @param string $path
57 57
      *
58 58
      * @return string
59 59
      */
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     /**
288 288
      * @param string $path
289 289
      *
290
-     * @return array
290
+     * @return string
291 291
      */
292 292
     public function read($path)
293 293
     {
Please login to merge, or discard this patch.