Completed
Push — master ( 2addb1...4d5931 )
by Carlos
08:01 queued 02:29
created
src/OpenWork/SuiteAuth/SuiteTicket.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      */
56 56
     protected function getCacheKey(): string
57 57
     {
58
-        return 'easywechat.open_work.suite_ticket.' . $this->app['config']['corp_id'];
58
+        return 'easywechat.open_work.suite_ticket.'.$this->app['config']['corp_id'];
59 59
     }
60 60
 
61 61
 }
62 62
\ No newline at end of file
Please login to merge, or discard this patch.
src/OpenWork/Work/Auth/AccessToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function getEndpoint(): string
72 72
     {
73
-        return 'cgi-bin/service/get_corp_token?' . http_build_query([
73
+        return 'cgi-bin/service/get_corp_token?'.http_build_query([
74 74
                 'suite_access_token' => $this->component['suite_access_token']->getToken()['suite_access_token'],
75 75
             ]);
76 76
     }
Please login to merge, or discard this patch.
src/OpenWork/Corp/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             'pre_auth_code' => $this->getPreAuthCode()['pre_auth_code'],
47 47
             'state'         => $state
48 48
         ];
49
-        return 'https://open.work.weixin.qq.com/3rdapp/install?' . http_build_query($params);
49
+        return 'https://open.work.weixin.qq.com/3rdapp/install?'.http_build_query($params);
50 50
     }
51 51
 
52 52
 
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             'scope'         => $scope,
154 154
             'state'         => $state
155 155
         ];
156
-        return 'https://open.weixin.qq.com/connect/oauth2/authorize?' . http_build_query($params) . '#wechat_redirect';
156
+        return 'https://open.weixin.qq.com/connect/oauth2/authorize?'.http_build_query($params).'#wechat_redirect';
157 157
     }
158 158
 
159 159
     /**
Please login to merge, or discard this patch.
src/OpenWork/Provider/Client.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             'state'        => $state
54 54
         ];
55 55
 
56
-        return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?' . http_build_query($params);
56
+        return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?'.http_build_query($params);
57 57
     }
58 58
 
59 59
     /**
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     {
87 87
         $registerCode || $registerCode = $this->getRegisterCode()['register_code'];
88 88
         $params = ['register_code' => $registerCode];
89
-        return 'https://open.work.weixin.qq.com/3rdservice/wework/register?' . http_build_query($params);
89
+        return 'https://open.work.weixin.qq.com/3rdservice/wework/register?'.http_build_query($params);
90 90
     }
91 91
 
92 92
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -107,8 +107,7 @@  discard block
 block discarded – undo
107 107
         string $adminName = '',
108 108
         string $adminMobile = '',
109 109
         string $state = ''
110
-    )
111
-    {
110
+    ) {
112 111
         $params = [];
113 112
         $params['template_id'] = $this->app['config']['reg_template_id'];
114 113
         !empty($corpName) && $params['corp_name'] = $corpName;
@@ -163,8 +162,7 @@  discard block
 block discarded – undo
163 162
         array $allowUser = [],
164 163
         array $allowParty = [],
165 164
         array $allowTag = []
166
-    )
167
-    {
165
+    ) {
168 166
         $params = [
169 167
             "agentid"      => $agentId,
170 168
             "allow_user"   => $allowUser,
Please login to merge, or discard this patch.