@@ -335,7 +335,7 @@ |
||
335 | 335 | /** |
336 | 336 | * 获取好友的个性签名 |
337 | 337 | * @param Friend $friend |
338 | - * @return string |
|
338 | + * @return integer |
|
339 | 339 | */ |
340 | 340 | public function getFriendLnick(Friend $friend) |
341 | 341 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $jsonData = \GuzzleHttp\json_decode($response->getBody(), true); |
41 | 41 | if ($jsonData && $jsonData['retcode'] == 0) { |
42 | 42 | //群成员的vip信息 |
43 | - $vipInfos = (new Collection($jsonData['result']['vipinfo']))->combine('u', function($entity) { |
|
43 | + $vipInfos = (new Collection($jsonData['result']['vipinfo']))->combine('u', function($entity) { |
|
44 | 44 | return $entity; |
45 | 45 | })->toArray(); |
46 | 46 | //群成员的名片信息 |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | $members = []; |
65 | 65 | foreach ($jsonData['result']['minfo'] as $memberData) { |
66 | 66 | $uin = $memberData['uin']; |
67 | - $member = EntityFactory::createEntity(GroupMember::class, [ |
|
67 | + $member = EntityFactory::createEntity(GroupMember::class, [ |
|
68 | 68 | 'flag' => isset($flags[$uin]) ? $flags[$uin] : null, |
69 | 69 | 'nick' => $memberData['nick'], |
70 | 70 | 'province' => $memberData['province'], |