Passed
Push — master ( c74e83...4330b5 )
by test
02:39
created
src/TencentIM/Sns/ServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,19 +23,19 @@
 block discarded – undo
23 23
      */
24 24
     public function register(Container $app)
25 25
     {
26
-        $app['sns'] = function ($app) {
26
+        $app['sns'] = function($app) {
27 27
             return new Sns($app);
28 28
         };
29 29
 
30
-        $app['sns.client'] = function ($app) {
30
+        $app['sns.client'] = function($app) {
31 31
             return new Client($app);
32 32
         };
33 33
 
34
-        $app['sns.group'] = function ($app) {
34
+        $app['sns.group'] = function($app) {
35 35
             return new GroupClient($app);
36 36
         };
37 37
 
38
-        $app['sns.black_list'] = function ($app) {
38
+        $app['sns.black_list'] = function($app) {
39 39
             return new BlackListClient($app);
40 40
         };
41 41
     }
Please login to merge, or discard this patch.
src/TencentIM/Account/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $app)
20 20
     {
21
-        $app['account'] = function ($app) {
21
+        $app['account'] = function($app) {
22 22
             return new Client($app);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/TencentIM/Auth/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
      */
20 20
     public function register(Container $app)
21 21
     {
22
-        !isset($app['access_token']) && $app['access_token'] = function ($app) {
22
+        !isset($app['access_token']) && $app['access_token'] = function($app) {
23 23
             return new AccessToken($app);
24 24
         };
25 25
 
26
-        $app['sign'] = function ($app) {
26
+        $app['sign'] = function($app) {
27 27
             return new TLSSigAPIv2(
28 28
                 $app['config']['sdk_app_id'],
29 29
                 $app['config']['secret']
Please login to merge, or discard this patch.
src/TencentIM/Operate/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $app)
20 20
     {
21
-        $app['operate'] = function ($app) {
21
+        $app['operate'] = function($app) {
22 22
             return new Client($app);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/TencentIM/Profile/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $app)
20 20
     {
21
-        $app['profile'] = function ($app) {
21
+        $app['profile'] = function($app) {
22 22
             return new Client($app);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/TencentIM/Group/MessageClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     {
100 100
         $params = [
101 101
             'GroupId' => $groupId,
102
-            'MsgSeqList' => array_map(function ($item) {
102
+            'MsgSeqList' => array_map(function($item) {
103 103
                 return ['MsgSeq' => $item];
104 104
             }, $msgSeqList)
105 105
         ];
Please login to merge, or discard this patch.
src/TencentIM/Group/ServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,22 +18,22 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $app)
20 20
     {
21
-        $app['group'] = function ($app) {
21
+        $app['group'] = function($app) {
22 22
             return new Group($app);
23 23
         };
24
-        $app['group.client'] = function ($app) {
24
+        $app['group.client'] = function($app) {
25 25
             return new Client($app);
26 26
         };
27
-        $app['group.member'] = function ($app) {
27
+        $app['group.member'] = function($app) {
28 28
             return new MemberClient($app);
29 29
         };
30
-        $app['group.operate'] = function ($app) {
30
+        $app['group.operate'] = function($app) {
31 31
             return new OperateClient($app);
32 32
         };
33
-        $app['group.message'] = function ($app) {
33
+        $app['group.message'] = function($app) {
34 34
             return new MessageClient($app);
35 35
         };
36
-        $app['group.import'] = function ($app) {
36
+        $app['group.import'] = function($app) {
37 37
             return new ImportClient($app);
38 38
         };
39 39
     }
Please login to merge, or discard this patch.
src/TencentIM/Speak/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $app)
20 20
     {
21
-        $app['speak'] = function ($app) {
21
+        $app['speak'] = function($app) {
22 22
             return new Client($app);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/TencentIM/SingleChat/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $app)
20 20
     {
21
-        $app['single_chat'] = function ($app) {
21
+        $app['single_chat'] = function($app) {
22 22
             return new Client($app);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.