Passed
Push — master ( 53c413...1211a5 )
by Taosikai
15:08
created
examples/login_for_credential.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use Slince\SmartQQ\Client;
4 4
 
5
-include __DIR__.'/bootstrap.php';
5
+include __DIR__ . '/bootstrap.php';
6 6
 
7 7
 //创建smartQQ客户端
8 8
 $smartQQ = new Client();
Please login to merge, or discard this patch.
src/Client.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,7 @@
 block discarded – undo
358 358
      *
359 359
      * @param Entity\Friend $friend
360 360
      *
361
-     * @return string
361
+     * @return integer
362 362
      */
363 363
     public function getFriendLnick(Entity\Friend $friend)
364 364
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -343,7 +343,7 @@
 block discarded – undo
343 343
      */
344 344
     public function getFriendQQ(Entity\Friend $friend)
345 345
     {
346
-        @trigger_error('The api is not supported now',E_USER_DEPRECATED);
346
+        @trigger_error('The api is not supported now', E_USER_DEPRECATED);
347 347
 
348 348
         $request = new Request\GetQQRequest($friend, $this->getCredential());
349 349
         $response = $this->sendRequest($request);
Please login to merge, or discard this patch.
examples/get_groups.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  */
5 5
 use Slince\SmartQQ\Client;
6 6
 
7
-include __DIR__.'/bootstrap.php';
7
+include __DIR__ . '/bootstrap.php';
8 8
 
9 9
 //创建smartQQ客户端
10 10
 $smartQQ = new Client(getCredential());
Please login to merge, or discard this patch.
examples/get_friends.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  */
5 5
 use Slince\SmartQQ\Client;
6 6
 
7
-include __DIR__.'/bootstrap.php';
7
+include __DIR__ . '/bootstrap.php';
8 8
 
9 9
 //创建smartQQ客户端
10 10
 $smartQQ = new Client(getCredential());
Please login to merge, or discard this patch.
examples/get_recent_list.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  */
5 5
 use Slince\SmartQQ\Client;
6 6
 
7
-include __DIR__.'/bootstrap.php';
7
+include __DIR__ . '/bootstrap.php';
8 8
 
9 9
 //创建smartQQ客户端
10 10
 $smartQQ = new Client(getCredential());
Please login to merge, or discard this patch.
examples/get_friend_qq.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  */
5 5
 use Slince\SmartQQ\Client;
6 6
 
7
-include __DIR__.'/bootstrap.php';
7
+include __DIR__ . '/bootstrap.php';
8 8
 
9 9
 //创建smartQQ客户端
10 10
 $smartQQ = new Client(getCredential());
Please login to merge, or discard this patch.
examples/get_friend_lnick.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  */
5 5
 use Slince\SmartQQ\Client;
6 6
 
7
-include __DIR__.'/bootstrap.php';
7
+include __DIR__ . '/bootstrap.php';
8 8
 
9 9
 //创建smartQQ客户端
10 10
 $smartQQ = new Client(getCredential());
Please login to merge, or discard this patch.
examples/get_self_user.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  */
5 5
 use Slince\SmartQQ\Client;
6 6
 
7
-include __DIR__.'/bootstrap.php';
7
+include __DIR__ . '/bootstrap.php';
8 8
 
9 9
 //创建smartQQ客户端
10 10
 $smartQQ = new Client(getCredential());
Please login to merge, or discard this patch.
src/MessageHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     {
82 82
         while (true) {
83 83
             try {
84
-                $messages =  $this->client->pollMessages();
84
+                $messages = $this->client->pollMessages();
85 85
                 if ($messages) {
86 86
                     foreach ($messages as $message) {
87 87
                         // 收到消息时触发事件
Please login to merge, or discard this patch.