Skip to content

Commit 83dd4d4

Browse files
committed
格式调整
1 parent b41cfa1 commit 83dd4d4

File tree

126 files changed

+2198
-1355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+2198
-1355
lines changed

Diff for: RongCloud/Lib/Chatroom/Ban/Ban.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* // Mute all chatrooms
3+
* Mute all chatrooms
44
*/
55
namespace RongCloud\Lib\Chatroom\Ban;
66

@@ -10,7 +10,7 @@
1010
class Ban {
1111

1212
/**
13-
* // Global forbidden words path for chat room
13+
* Global forbidden words path for chat room
1414
*
1515
* @var string
1616
*/
@@ -31,7 +31,7 @@ class Ban {
3131
private $verify = '';
3232

3333
/**
34-
* // Ban constructor.
34+
* Ban constructor.
3535
*/
3636
function __construct()
3737
{
@@ -74,7 +74,7 @@ public function add(array $Chatroom=[]){
7474
}
7575

7676
/**
77-
* // Get the global banned words list of the chatroom
77+
* Get the global banned words list of the chatroom
7878
*
7979
* @param array $Chatroom
8080
* $Chatroom = [
@@ -107,7 +107,7 @@ public function remove(array $Chatroom=[]){
107107
}
108108

109109
/**
110-
* // Add ban
110+
* Add ban
111111
*
112112
* @param array $Chatroom
113113
* $Chatroom = [

Diff for: RongCloud/Lib/Chatroom/Block/Block.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* // Chat room ban
3+
* Chat room ban
44
*/
55
namespace RongCloud\Lib\Chatroom\Block;
66

@@ -24,14 +24,14 @@ class Block {
2424
private $conf = '';
2525

2626
/**
27-
* // Configuration file for validation
27+
* Configuration file for validation
2828
*
2929
* @var string
3030
*/
3131
private $verify = '';
3232

3333
/**
34-
* // Block constructor.
34+
* Block constructor.
3535
*/
3636
function __construct()
3737
{

Diff for: RongCloud/Lib/Chatroom/Chatroom.php

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* // Chatroom
3+
* Chatroom
44
*/
55
namespace RongCloud\Lib\Chatroom;
66

@@ -21,7 +21,7 @@
2121
class Chatroom
2222
{
2323
/**
24-
* // Chat room module path
24+
* Chat room module path
2525
*
2626
* @var string
2727
*/
@@ -42,7 +42,7 @@ class Chatroom
4242
private $verify = '';
4343

4444
/**
45-
* // Chatroom constructor.
45+
* Chatroom constructor.
4646
*/
4747
function __construct()
4848
{
@@ -178,7 +178,7 @@ public function destory(array $Chatroom=[]){
178178
}
179179

180180
/**
181-
* // Query chatroom basic information
181+
* Query chatroom basic information
182182
*
183183
* @DateTime 2023-06-14
184184
* @deprecated Deprecated, please use the queryV2 method for creation
@@ -206,7 +206,7 @@ public function query(array $Chatroom=[]){
206206
}
207207

208208
/**
209-
* // Query chatroom basic information V2
209+
* Query chatroom basic information V2
210210
*
211211
* @DateTime 2023-10-08
212212
* @param array $Chatroom ['id'=> ['chatroom1','chatroom1','chatroom1']]
@@ -303,7 +303,7 @@ public function isExist(array $Chatroom=[]){
303303
}
304304

305305
/**
306-
* // Create a global mute object for the chat room
306+
* Create a global mute object for the chat room
307307
*
308308
* @return MuteWhiteList
309309
*/
@@ -321,7 +321,7 @@ public function Block(){
321321
}
322322

323323
/**
324-
* // Create a chat room message demotion object
324+
* Create a chat room message demotion object
325325
*
326326
* @return Demotion
327327
*/
@@ -330,7 +330,7 @@ public function Demotion(){
330330
}
331331

332332
/**
333-
* // Create a chat room message distribution object
333+
* Create a chat room message distribution object
334334
*
335335
* @return Distribute
336336
*/
@@ -339,7 +339,7 @@ public function Distribute(){
339339
}
340340

341341
/**
342-
* // Create a chat room member gag object
342+
* Create a chat room member gag object
343343
*
344344
* @return Gag
345345
*/
@@ -348,7 +348,7 @@ public function Gag(){
348348
}
349349

350350
/**
351-
* // Create a chat room keepalive object
351+
* Create a chat room keepalive object
352352
*
353353
* @return Keepalive
354354
*/
@@ -357,7 +357,7 @@ public function Keepalive(){
357357
}
358358

359359
/**
360-
* // Create a chat room user whitelist object
360+
* Create a chat room user whitelist object
361361
*
362362
* @return Whitelist
363363
*/
@@ -366,7 +366,7 @@ public function Whitelist(){
366366
}
367367

368368
/**
369-
* // Create a chat room whitelist message object
369+
* Create a chat room whitelist message object
370370
*
371371
* @return Message
372372
*/
@@ -375,7 +375,7 @@ public function Message(){
375375
}
376376

377377
/**
378-
* // Create a whitelist message object for the chat room
378+
* Create a whitelist message object for the chat room
379379
*
380380
* @return Entry
381381
*/
@@ -384,7 +384,7 @@ public function Entry(){
384384
}
385385

386386
/**
387-
* // Mute all members in the chat room
387+
* Mute all members in the chat room
388388
*
389389
* @return MuteAllMembers
390390
*/
@@ -393,7 +393,7 @@ public function MuteAllMembers(){
393393
}
394394

395395
/**
396-
* // Chat room global mute whitelist
396+
* Chat room global mute whitelist
397397
*
398398
* @return MuteWhiteList
399399
*/

Diff for: RongCloud/Lib/Chatroom/Demotion/Demotion.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* // Chat room message downgrade
3+
* Chat room message downgrade
44
*/
55
namespace RongCloud\Lib\Chatroom\Demotion;
66

@@ -10,14 +10,14 @@
1010
class Demotion {
1111

1212
/**
13-
* // Chat room message degradation path
13+
* Chat room message degradation path
1414
*
1515
* @var string
1616
*/
1717
private $jsonPath = 'Lib/Chatroom/Demotion/';
1818

1919
/**
20-
* // Request configuration file
20+
* Request configuration file
2121
*
2222
* @var string
2323
*
@@ -95,7 +95,7 @@ public function remove(array $Chatroom=[]){
9595
}
9696

9797
/**
98-
* // Get the downgrade message of the in-app chatroom
98+
* Get the downgrade message of the in-app chatroom
9999
*
100100
* @param array $Chatroom
101101
* $Chatroom = [

Diff for: RongCloud/Lib/Chatroom/Distribute/Distribute.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010
class Distribute {
1111

1212
/**
13-
* // Stop the chat room message distribution path
13+
* Stop the chat room message distribution path
1414
*
1515
* @var string
1616
*/
1717
private $jsonPath = 'Lib/Chatroom/Distribute/';
1818

1919
/**
20-
* // Request configuration file
20+
* Request configuration file
2121
*
2222
* @var string
2323
*/
2424
private $conf = '';
2525

2626
/**
27-
* // Configuration file for verification
27+
* Configuration file for verification
2828
*
2929
* @var string
30-
* // Configuration file for verification
30+
* Configuration file for verification
3131
*
3232
* @var string
3333
*

Diff for: RongCloud/Lib/Chatroom/Entry/Entry.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* // Chat room attributes
3+
* Chat room attributes
44
*/
55

66
namespace RongCloud\Lib\Chatroom\Entry;
@@ -18,14 +18,14 @@ class Entry {
1818
private $jsonPath = 'Lib/Chatroom/Entry/';
1919

2020
/**
21-
* // Request configuration file
21+
* Request configuration file
2222
*
2323
* @var string
2424
*/
2525
private $conf = '';
2626

2727
/**
28-
* // Validate configuration file
28+
* Validate configuration file
2929
*
3030
* @var string
3131
*/
@@ -75,7 +75,7 @@ public function set(array $Chatroom = []) {
7575
}
7676

7777
/**
78-
* // Batch set chatroom properties (KV)
78+
* Batch set chatroom properties (KV)
7979
*
8080
* @param $Chatroom
8181
* $Chatroom = [

Diff for: RongCloud/Lib/Chatroom/Gag/Gag.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* // Chatroom member ban speech
3+
* Chatroom member ban speech
44
*/
55
namespace RongCloud\Lib\Chatroom\Gag;
66

@@ -10,7 +10,7 @@
1010
class Gag {
1111

1212
/**
13-
* // Chatroom member ban path
13+
* Chatroom member ban path
1414
*
1515
* @var string
1616
*/
@@ -24,7 +24,7 @@ class Gag {
2424
private $conf = '';
2525

2626
/**
27-
* // Verify configuration file
27+
* Verify configuration file
2828
*
2929
* @var string
3030
*/
@@ -40,7 +40,7 @@ function __construct()
4040
}
4141

4242
/**
43-
* // Add member mute
43+
* Add member mute
4444
*
4545
* @param array $Chatroom
4646
* $Chatroom = [

Diff for: RongCloud/Lib/Chatroom/Keepalive/Keepalive.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class Keepalive {
1111

1212
/**
13-
* // Chat room keep-alive path
13+
* Chat room keep-alive path
1414
*
1515
* @var string
1616
*/
@@ -24,14 +24,14 @@ class Keepalive {
2424
private $conf = '';
2525

2626
/**
27-
* // Verify configuration file
27+
* Verify configuration file
2828
*
2929
* @var string
3030
*/
3131
private $verify = '';
3232

3333
/**
34-
* // Keepalive constructor.
34+
* Keepalive constructor.
3535
*/
3636
function __construct()
3737
{

0 commit comments

Comments
 (0)