* Optimize code for bugTest::getStoryBugsTest.

This commit is contained in:
liumengyi
2023-08-16 16:19:31 +08:00
parent ae6f91f6ea
commit 48dc47fa71
+2 -1
View File
@@ -773,13 +773,14 @@ class bugTest
}
/**
* 测试获取需求产生的bug。
* Test get bugs of a story.
*
* @param int $storyID
* @access public
* @return string
*/
public function getStoryBugsTest($storyID)
public function getStoryBugsTest(int $storyID): array|string
{
$array = $this->objectModel->getStoryBugs($storyID);