* Add comment and type hint.

This commit is contained in:
dingguodong
2023-09-26 17:20:02 +08:00
parent 8e322031aa
commit 28185cf4e3
+2 -1
View File
@@ -1256,6 +1256,7 @@ class story extends control
}
/**
* 查看需求的相关任务。
* Tasks of a story.
*
* @param int $storyID
@@ -1263,7 +1264,7 @@ class story extends control
* @access public
* @return void
*/
public function tasks($storyID, $executionID = 0)
public function tasks(int $storyID, int $executionID = 0)
{
$this->loadModel('task');
$tasks = $this->task->getListByStory($storyID, $executionID);