Skip to content

Commit a6a7377

Browse files
committed
style: fix style
1 parent 34448f8 commit a6a7377

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

examples/rtc/rtc_createApp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
$auth = new Auth($accessKey, $secretKey);
1212
$client = new AppClient($auth);
1313

14-
// 绑定的直播 hub,使用此 hub 的资源进行推流等业务功能,hub 与 app 必须属于同一个七牛账户
14+
// 绑定的直播hub,使用此hub的资源进行推流等业务功能,hub与app必须属于同一个七牛账户
1515
$hub = 'rtchub';
1616

1717
// app 的名称,注意:Title 不是唯一标识,重复 create 动作将生成多个 app
@@ -29,4 +29,4 @@
2929
} else {
3030
echo "\n====> Create Successfully: \n";
3131
var_dump($ret);
32-
}
32+
}

examples/rtc/rtc_create_roomToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// 鉴权的有效时间,传入以秒为单位的64位 Unix 绝对时间,token 将在该时间后失效
2424
$expireAt = time()+3600;
2525

26-
// "admin""user",默认为 "user" 。当权限角色为 "admin" 时,拥有将其他用户移除出房间等特权
26+
// "admin""user",默认为"user" 。当权限角色为"admin"时,拥有将其他用户移除出房间等特权
2727
$permission = 'admin';
2828

2929
// 生成加入房间的令牌 RoomToken

examples/rtc/rtc_deleteApp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
var_dump($err);
2323
} else {
2424
echo "\n====> Delete $appId Successfully \n";
25-
}
25+
}

examples/rtc/rtc_getApp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
} else {
2424
echo "\n====> $appId Conf: \n";
2525
var_dump($ret);
26-
}
26+
}

examples/rtc/rtc_rooms_kickUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
var_dump($err);
2929
} else {
3030
echo "\n====> Kick User $userId Successfully \n";
31-
}
31+
}

examples/rtc/rtc_rooms_listActiveRooms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
} else {
3333
echo "\n====> Active Rooms:\n";
3434
var_dump($ret);
35-
}
35+
}

examples/rtc/rtc_rooms_listUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
} else {
2727
echo "\n====> User List: \n";
2828
var_dump($ret);
29-
}
29+
}

examples/rtc/rtc_rooms_stopMerge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
var_dump($err);
2626
} else {
2727
echo "\n====> Stop Merge Successfully \n";
28-
}
28+
}

examples/rtc/rtc_updateApp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// app 的唯一标识,创建的时候由系统生成。
1515
$appId = "xxxx";
1616

17-
// 绑定的直播 hub,使用此 hub 的资源进行推流等业务功能,hub 与 app 必须属于同一个七牛账户
17+
// 绑定的直播hub,使用此hub的资源进行推流等业务功能,hub与app必须属于同一个七牛账户
1818
$hub = 'rtchub';
1919

2020
// app 的名称,注意:Title 不是唯一标识,重复 create 动作将生成多个 app
@@ -37,4 +37,4 @@
3737
} else {
3838
echo "\n====> Update $appId Conf Successfully: \n";
3939
var_dump($ret);
40-
}
40+
}

0 commit comments

Comments
 (0)