* Add comment for bugModel::getBugQuery, and modify its unit test.

This commit is contained in:
liumengyi
2023-08-16 17:12:46 +08:00
parent d9f3a281eb
commit 3923ff5085
2 changed files with 17 additions and 4 deletions
+3 -2
View File
@@ -1208,13 +1208,14 @@ class bugTest
}
/**
* 测试获取bug查询语句。
* Test get bug query.
*
* @param string $bugQuery
* @access public
* @return array
* @return string|array
*/
public function getBugQueryTest($bugQuery)
public function getBugQueryTest(string $bugQuery): string|array
{
$array = $this->objectModel->getBugQuery($bugQuery);