정적 분석 결과 반영. MYDB_close 삭제
This commit is contained in:
@@ -40,16 +40,16 @@ if(!$general){
|
||||
]);
|
||||
}
|
||||
|
||||
$result = getSingleMessage($msgID, $general);
|
||||
list($result, $messageInfo) = getSingleMessage($msgID, $general);
|
||||
|
||||
if (!$result[0]) {
|
||||
if (!$result) {
|
||||
Json::die([
|
||||
'result'=>false,
|
||||
'reason'=>$result[1]
|
||||
'reason'=>$messageInfo
|
||||
]);
|
||||
}
|
||||
|
||||
$messageInfo = $result[1];
|
||||
'@phan-var-force mixed[] $result';
|
||||
|
||||
$msgType = $messageInfo['type'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user