Passed
Push — master ( e39da6...9f5525 )
by sabaku
04:31
created
src/Upyun/Upyun.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      * 获取云存储文件/目录的基本信息
198 198
      *
199 199
      * @param string $path 云存储的文件路径
200
-     * @param array $otherHeaders 设置了后,方法将返回其他 http header 中的信息,默认为空
200
+     * @param string[] $otherHeaders 设置了后,方法将返回其他 http header 中的信息,默认为空
201 201
      *
202 202
      * @return array 返回一个数组,默认包含以下 key
203 203
      * - `x-upyun-file-type` 当 $path 是目录时,值为 *folder*,当 $path 是文件时,值为 *file*,
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     /**
298 298
      * 刷新缓存
299 299
      *
300
-     * @param array|string $urls 需要刷新的文件 url 列表
300
+     * @param string $urls 需要刷新的文件 url 列表
301 301
      *
302 302
      * @return array 刷新失败的 url 列表,若全部刷新成功则为空数组
303 303
      */
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      * @param string $file 需要剪辑的又拍云云存储中的 m3u8 文件路径
461 461
      * @param string $saveAs 剪辑完成后新的 m3u8 文件保存路径
462 462
      * @param array $slice 需要被保留或删除的片段。
463
-     * @param bool $$isInclude 默认为 `true` 表示 `$slice` 参数描述的片段被保留,否则表示 `$slice` 参数描述的片段被删除
463
+     * @param bool $isInclude 默认为 `true` 表示 `$slice` 参数描述的片段被保留,否则表示 `$slice` 参数描述的片段被删除
464 464
      * @param bool $index 指定 `$slice` 参数的格式,默认为 `false` 表示使用时间范围描述片段,单位秒:`[<开始时间>, <结束时间>]`;`true` 表示使用 `m3u8` 文件的分片序号,从 0 开始,这种方式可以一次对多个片段操作
465 465
      *
466 466
      * @return array 见 [m3u8 剪辑 - 响应](http://docs.upyun.com/cloud/sync_video/#_6)
Please login to merge, or discard this patch.