Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed May 29, 2023
1 parent c7f7018 commit 07aaa71
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/Core/MessageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ private function checkSync()
public function handleCheckSync($retCode, $selector, $test = false)
{
if (in_array($retCode, [1100, 1101, 1102, 1205])) { // 微信客户端上登出或者其他设备登录

$this->vbot->console->log('vbot exit normally.');
$this->vbot->cache->forget('session.'.$this->vbot->config['session']);

Expand Down
1 change: 0 additions & 1 deletion src/Support/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public static function findWechatGroup($groupObj)
* 如果由于不检查成员导致的群名重复,在最后会由于匹配多于一条记录而报错,守住底线,保证程序不出错.
*/
if (count($group['MemberList']) > 0) {

//首位群员标识不匹配
if ('' != $firstMemberAttr) {
if ($firstMemberAttr == $group['MemberList'][0]['AttrStatus']) {
Expand Down

0 comments on commit 07aaa71

Please sign in to comment.