Completed
Push — master ( e74dfe...64c38c )
by do
03:09
created
src/Kernel/BaseClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,8 +215,8 @@
 block discarded – undo
215 215
      */
216 216
     public function headerMiddleware($header, $value)
217 217
     {
218
-        return function (callable $handler) use ($header, $value) {
219
-            return function (
218
+        return function(callable $handler) use ($header, $value) {
219
+            return function(
220 220
                 RequestInterface $request,
221 221
                 array $options
222 222
             ) use (
Please login to merge, or discard this patch.
src/Kernel/Token.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     protected function getCacheKey()
83 83
     {
84
-        return $this->cachePrefix . $this->app['config']['username'];
84
+        return $this->cachePrefix.$this->app['config']['username'];
85 85
     }
86 86
 
87 87
     public function requestToken(array $credentials, $toArray = false)
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $this->baseRefer = $result['redirect_url'];
96 96
 
97 97
         if (empty($result['redirect_url'])) {
98
-            throw new HttpException('Request token fail: ' . json_encode($result, JSON_UNESCAPED_UNICODE), $response, $formatted);
98
+            throw new HttpException('Request token fail: '.json_encode($result, JSON_UNESCAPED_UNICODE), $response, $formatted);
99 99
         }
100 100
 
101 101
         return $toArray ? $result : $formatted;
Please login to merge, or discard this patch.
src/OfficialAccount/Login/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      */
53 53
     public function redirect()
54 54
     {
55
-        $url = 'cgi-bin/bizlogin?action=validate&lang=zh_CN&account=' . $this->app['config']['username'];
55
+        $url = 'cgi-bin/bizlogin?action=validate&lang=zh_CN&account='.$this->app['config']['username'];
56 56
         $this->httpGet($url);
57 57
     }
58 58
 
Please login to merge, or discard this patch.