@@ -2,7 +2,7 @@ |
||
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(); |
@@ -358,7 +358,7 @@ |
||
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 | { |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | // 兼容二维码位置传参 |
84 | 84 | if (is_string($qrCallback)) { |
85 | - $qrCallback = function ($qrcode) use($qrCallback){ |
|
85 | + $qrCallback = function($qrcode) use($qrCallback){ |
|
86 | 86 | file_put_contents($qrCallback, $qrcode); |
87 | 87 | }; |
88 | 88 | } |
@@ -251,7 +251,7 @@ discard block |
||
251 | 251 | */ |
252 | 252 | public function getFriendQQ(Entity\Friend $friend) |
253 | 253 | { |
254 | - @trigger_error('The api is not supported now',E_USER_DEPRECATED); |
|
254 | + @trigger_error('The api is not supported now', E_USER_DEPRECATED); |
|
255 | 255 | |
256 | 256 | $request = new Request\GetQQRequest($friend, $this->getCredential()); |
257 | 257 | $response = $this->sendRequest($request); |
@@ -4,7 +4,7 @@ |
||
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()); |
@@ -4,7 +4,7 @@ |
||
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()); |
@@ -4,7 +4,7 @@ |
||
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()); |
@@ -4,7 +4,7 @@ |
||
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()); |
@@ -4,7 +4,7 @@ |
||
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()); |
@@ -4,7 +4,7 @@ |
||
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()); |