Completed
Pull Request — master (#1278)
by
unknown
03:33
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
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             'pre_auth_code' => $this->getPreAuthCode()['pre_auth_code'],
46 46
             'state'         => $state || rand(),
47 47
         ];
48
-        return 'https://open.work.weixin.qq.com/3rdapp/install?' . http_build_query($params);
48
+        return 'https://open.work.weixin.qq.com/3rdapp/install?'.http_build_query($params);
49 49
     }
50 50
 
51 51
 
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
             'scope'         => $scope,
151 151
             'state'         => $state || rand(),
152 152
         ];
153
-        return 'https://open.weixin.qq.com/connect/oauth2/authorize?' . http_build_query($params) . '#wechat_redirect';
153
+        return 'https://open.weixin.qq.com/connect/oauth2/authorize?'.http_build_query($params).'#wechat_redirect';
154 154
     }
155 155
 
156 156
     /**
Please login to merge, or discard this patch.
src/OpenWork/Provider/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             'usertype'     => $usertype,
50 50
             'state'        => $state || rand()
51 51
         ];
52
-        return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?' . http_build_query($params);
52
+        return 'https://open.work.weixin.qq.com/wwopen/sso/3rd_qrConnect?'.http_build_query($params);
53 53
     }
54 54
 
55 55
     /**
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     public function getRegisterUri($register_code)
81 81
     {
82 82
         $params = ['register_code' => $register_code];
83
-        return 'https://open.work.weixin.qq.com/3rdservice/wework/register?' . http_build_query($params);
83
+        return 'https://open.work.weixin.qq.com/3rdservice/wework/register?'.http_build_query($params);
84 84
     }
85 85
 
86 86
 
@@ -180,6 +180,6 @@  discard block
 block discarded – undo
180 180
     public function contactSyncSuccess(string $access_token)
181 181
     {
182 182
         $params = ['access_token' => $access_token];
183
-        return $this->httpGet('cgi-bin/sync/contact_sync_success',$params);
183
+        return $this->httpGet('cgi-bin/sync/contact_sync_success', $params);
184 184
     }
185 185
 }
Please login to merge, or discard this patch.