File tree Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Expand file tree Collapse file tree 3 files changed +3
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public static function sum($filename)
5252 fclose ($ fhandler );
5353 return array (null , $ err );
5454 }
55- list ($ sha1Code , $ err ) = calSha1 ($ fdata );
55+ list ($ sha1Code , ) = calSha1 ($ fdata );
5656 $ sha1Buf = array_merge ($ sha1Buf , $ sha1Code );
5757 } else {
5858 array_push ($ sha1Buf , 0x96 );
@@ -67,7 +67,7 @@ public static function sum($filename)
6767 $ sha1BlockBuf = array_merge ($ sha1BlockBuf , $ sha1Code );
6868 }
6969 $ tmpData = self ::packArray ('C* ' , $ sha1BlockBuf );
70- list ($ sha1Final , $ _err ) = self ::calcSha1 ($ tmpData );
70+ list ($ sha1Final , ) = self ::calcSha1 ($ tmpData );
7171 $ sha1Buf = array_merge ($ sha1Buf , $ sha1Final );
7272 }
7373 $ etag = \Qiniu \base64_urlSafeEncode (self ::packArray ('C* ' , $ sha1Buf ));
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ function base64_urlSafeEncode($data)
5353 /**
5454 * 对提供的urlsafe的base64编码的数据进行解码
5555 *
56- * @param string $data 待解码的数据,一般为字符串
56+ * @param string $str 待解码的数据,一般为字符串
5757 *
5858 * @return string 解码后的字符串
5959 */
You can’t perform that action at this time.
0 commit comments