* Refactor getList method and case.

This commit is contained in:
tianshujie
2023-08-30 09:25:16 +08:00
parent a95ed8f826
commit 7752eee146
3 changed files with 22 additions and 32 deletions
+9 -8
View File
@@ -704,18 +704,19 @@ class executionTest
}
/**
* function getList test by execution
* 获取执行列表信息。
* Get execution list information.
*
* @param string $projectID
* @param int $projectID
* @param string $type
* @param array $status
* @param string $limit
* @param string $productID
* @param string $count
* @param string $status
* @param int $limit
* @param int $productID
* @param int $count
* @access public
* @return array
* @return array|int
*/
public function getListTest($projectID, $type, $status, $limit, $productID, $count)
public function getListTest(int $projectID, string $type, string $status, int $limit, int $productID, int $count): array|int
{
$object = $this->executionModel->getList($projectID, $type, $status, $limit, $productID);