Completed
Pull Request — master (#7)
by frey
03:04
created
src/Suite/AuthorizerAccessToken.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@
 block discarded – undo
63 63
     protected function refreshToken()
64 64
     {
65 65
         $token = $this->authorization->getApi()
66
-                                     ->getAuthorizerToken(
67
-                                         $this->authorization->getAuthorizerCorpId(),
68
-                                         $this->authorization->getAuthorizerPermanentCode()
69
-                                     );
66
+                                        ->getAuthorizerToken(
67
+                                            $this->authorization->getAuthorizerCorpId(),
68
+                                            $this->authorization->getAuthorizerPermanentCode()
69
+                                        );
70 70
 
71 71
         $this->authorization->setAuthorizerAccessToken($token['access_token'], $token['expires_in'] - 1500);
72 72
 
Please login to merge, or discard this patch.
src/Suite/Suite.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     public function createAuthorizerApplication($authorizerCorpId, $permanentCode)
32 32
     {
33 33
         $this->fetch('authorization')
34
-             ->setAuthorizerCorpId($authorizerCorpId)
35
-             ->setAuthorizerPermanentCode($permanentCode);
34
+                ->setAuthorizerCorpId($authorizerCorpId)
35
+                ->setAuthorizerPermanentCode($permanentCode);
36 36
 
37 37
         $application = $this->fetch('app');
38 38
         $application['access_token'] = $this->fetch('authorizer_access_token');
Please login to merge, or discard this patch.
src/Foundation/Application.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
         ServiceProviders\ShakeAroundServiceProvider::class,
72 72
         ServiceProviders\StaffServiceProvider::class,
73 73
         ServiceProviders\SuiteServiceProvider::class,
74
-		ServiceProviders\FundamentalServiceProvider::class,
75
-		ServiceProviders\OAServiceProvider::class,
74
+        ServiceProviders\FundamentalServiceProvider::class,
75
+        ServiceProviders\OAServiceProvider::class,
76 76
     ];
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
src/Foundation/ServiceProviders/UserServiceProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             return new Tag($pimple['access_token']);
37 37
         };
38 38
 		
39
-		$batch = function ($pimple) {
39
+        $batch = function ($pimple) {
40 40
             return new Batch($pimple['access_token']);
41 41
         };
42 42
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $pimple['user_tag'] = $tag;
55 55
         $pimple['user.tag'] = $tag;
56 56
 		
57
-		$pimple['user_batch'] = $batch;
57
+        $pimple['user_batch'] = $batch;
58 58
         $pimple['user.batch'] = $batch;
59 59
     }
60 60
 }
Please login to merge, or discard this patch.
src/Foundation/ServiceProviders/OAuthServiceProvider.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@
 block discarded – undo
31 31
             return new Web($pimple['access_token']);
32 32
         };
33 33
 		
34
-		$auth_work = function ($pimple) {
34
+        $auth_work = function ($pimple) {
35 35
             return new WorkWeb($pimple['access_token']);
36 36
         };
37 37
 		
38
-		$pimple['auth_work'] = $auth_work;
39
-		$pimple['auth.work'] = $auth_work;
38
+        $pimple['auth_work'] = $auth_work;
39
+        $pimple['auth.work'] = $auth_work;
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/Broadcast/Broadcast.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     const MSG_TYPE_CARD = 'card';   // 卡券
20 20
     const MSG_TYPE_FILE = 'file';   // 文件
21 21
     const MSG_TYPE_MPNEWS = 'mpnews'; // 图文
22
-	const MSG_TYPE_TEXTCARD = 'textcard'; // 文本卡片
22
+    const MSG_TYPE_TEXTCARD = 'textcard'; // 文本卡片
23 23
 
24 24
     /**
25 25
      * Get message builder.
Please login to merge, or discard this patch.
src/Broadcast/MessageBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         Broadcast::MSG_TYPE_CARD,
69 69
         Broadcast::MSG_TYPE_FILE,
70 70
         Broadcast::MSG_TYPE_MPNEWS,
71
-		Broadcast::MSG_TYPE_TEXTCARD,
71
+        Broadcast::MSG_TYPE_TEXTCARD,
72 72
     ];
73 73
 
74 74
     /**
Please login to merge, or discard this patch.