Completed
Branch master (25dafd)
by frey
09:44
created
src/Adapter.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return mixed
42
+     * @return string
43 43
      */
44 44
     public function getBucket()
45 45
     {
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     }
48 48
 
49 49
     /**
50
-     * @param $path
50
+     * @param string $path
51 51
      *
52 52
      * @return string
53 53
      */
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
     }
345 345
 
346 346
     /**
347
-     * @param $content
347
+     * @param string $content
348 348
      *
349 349
      * @return bool|string
350 350
      */
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
     }
361 361
 
362 362
     /**
363
-     * @param $tmpfname
363
+     * @param boolean|string $tmpfname
364 364
      */
365 365
     private function deleteTempFile($tmpfname)
366 366
     {
Please login to merge, or discard this patch.
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.