From 6bafd8d93af8fa72c8c00118a3287136d01726bb Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 31 Aug 2023 11:15:54 +0800 Subject: [PATCH] * Add type hint. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 6777c7073e..17a3dd97fc 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -3244,7 +3244,7 @@ class executionModel extends model * @access public * @return bool */ - public function linkStory($executionID, $stories = array(), $extra = '', $lanes = array()) + public function linkStory(int $executionID, array $stories = array(), string $extra = '', array $lanes = array()) { if(empty($executionID)) return false; if(empty($stories)) $stories = $this->post->stories;