From 11849033d8f77ba0381be9e969430de92ba833f6 Mon Sep 17 00:00:00 2001 From: daitingting Date: Tue, 26 Sep 2023 08:03:22 +0000 Subject: [PATCH] * Add type for param. --- module/testreport/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testreport/model.php b/module/testreport/model.php index 36b5105903..8870368299 100644 --- a/module/testreport/model.php +++ b/module/testreport/model.php @@ -385,7 +385,7 @@ class testreportModel extends model * @access public * @return array */ - public function getCaseIdList($reportID): array + public function getCaseIdList(int $reportID): array { return $this->dao->select('`case`')->from(TABLE_TESTREPORT)->alias('t1') ->leftJoin(TABLE_TESTRUN)->alias('t2')->on('t1.tasks = t2.task')