Completed
Pull Request — master (#7)
by frey
03:04
created
src/Foundation/ServiceProviders/FundamentalServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function register(Container $pimple)
18 18
     {
19
-        $pimple['fundamental.api'] = function ($pimple) {
19
+        $pimple['fundamental.api'] = function($pimple) {
20 20
             return new API($pimple['access_token']);
21 21
         };
22 22
     }
Please login to merge, or discard this patch.
src/Broadcast/Broadcast.php 2 patches
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.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
 {
12 12
     const API_MESSAGE_SEND = 'https://qyapi.weixin.qq.com/cgi-bin/message/send';
13 13
 
14
-    const MSG_TYPE_TEXT = 'text';   // 文本
15
-    const MSG_TYPE_NEWS = 'news';   // 图文
16
-    const MSG_TYPE_VOICE = 'voice';  // 语音
17
-    const MSG_TYPE_IMAGE = 'image';  // 图片
18
-    const MSG_TYPE_VIDEO = 'video';  // 视频
19
-    const MSG_TYPE_CARD = 'card';   // 卡券
20
-    const MSG_TYPE_FILE = 'file';   // 文件
14
+    const MSG_TYPE_TEXT = 'text'; // 文本
15
+    const MSG_TYPE_NEWS = 'news'; // 图文
16
+    const MSG_TYPE_VOICE = 'voice'; // 语音
17
+    const MSG_TYPE_IMAGE = 'image'; // 图片
18
+    const MSG_TYPE_VIDEO = 'video'; // 视频
19
+    const MSG_TYPE_CARD = 'card'; // 卡券
20
+    const MSG_TYPE_FILE = 'file'; // 文件
21 21
     const MSG_TYPE_MPNEWS = 'mpnews'; // 图文
22 22
 	const MSG_TYPE_TEXTCARD = 'textcard'; // 文本卡片
23 23
 
Please login to merge, or discard this patch.
src/Broadcast/Transformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             $class = get_class($message);
31 31
         }
32 32
 
33
-        $handle = 'transform' . substr($class, strlen('EntWeChat\Message\\'));
33
+        $handle = 'transform'.substr($class, strlen('EntWeChat\Message\\'));
34 34
 
35 35
         return method_exists($this, $handle) ? $this->$handle($message) : [];
36 36
     }
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.
src/Auth/WorkWeb.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         $query = http_build_query($this->getCodeFields($state), '', '&', $this->encodingType);
36 36
 
37
-        return $url . '?' . $query;
37
+        return $url.'?'.$query;
38 38
     }
39 39
 
40 40
     /**
Please login to merge, or discard this patch.
src/Auth/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $query = http_build_query($this->getCodeFields($state), '', '&', $this->encodingType);
37 37
 
38
-        return $url . '?' . $query . '#wechat_redirect';
38
+        return $url.'?'.$query.'#wechat_redirect';
39 39
     }
40 40
 
41 41
     /**
Please login to merge, or discard this patch.