Skip to content

Commit f9ef049

Browse files
committed
style: update comment and coding style
1 parent 9d1bcd4 commit f9ef049

File tree

5 files changed

+243
-380
lines changed

5 files changed

+243
-380
lines changed

src/Qiniu/Rtc/AppClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function listActiveRooms($appId, $prefix = null, $offset = null, $limit =
180180
*
181181
* @param string $appId app 的唯一标识,创建的时候由系统生成
182182
* @param string $roomName 房间名称,需满足规格 ^[a-zA-Z0-9_-]{3,64}$
183-
* @param int $userId 请求加入房间的用户 ID,需满足规格 ^[a-zA-Z0-9_-]{3,50}$
183+
* @param string $userId 请求加入房间的用户 ID,需满足规格 ^[a-zA-Z0-9_-]{3,50}$
184184
* @param int $expireAt 鉴权的有效时间,传入以秒为单位的64位 Unix 绝对时间
185185
* @param string $permission 该用户的房间管理权限,"admin" 或 "user",默认为 "user"
186186
* @return string

src/Qiniu/Sms/Sms.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ public function imgToBase64($img_file)
308308
if ($filesize > 5 * 1024 * 1024) {
309309
die("pic size < 5M !");
310310
}
311+
$img_type = null;
311312
$content = fread($fp, $filesize);
312313
$file_content = chunk_split(base64_encode($content)); // base64编码
313314
switch ($img_info[2]) { //判读图片类型

0 commit comments

Comments
 (0)