* Add param type for batchCreate.

This commit is contained in:
wangyidong
2023-06-02 08:31:29 +08:00
parent 2f37c9a69e
commit d20d2c1d32
+1 -1
View File
@@ -126,7 +126,7 @@ class story extends control
* @access public
* @return void
*/
public function batchCreate($productID = 0, $branch = 0, $moduleID = 0, $storyID = 0, $executionID = 0, $plan = 0, $storyType = 'story', $extra = '')
public function batchCreate(int $productID = 0, string $branch = '', int $moduleID = 0, int $storyID = 0, int $executionID = 0, int $plan = 0, string $storyType = 'story', string $extra = '')
{
$this->view->hiddenProduct = false;
$this->view->hiddenPlan = false;