* Modify the default value of a function.

This commit is contained in:
tianshujie
2022-04-12 15:13:15 +08:00
parent e1df191578
commit b0e5f808c4
+2 -2
View File
@@ -684,7 +684,7 @@ class testcaseModel extends model
* @access public
* @return void
*/
public function update($caseID, $testtasks = '')
public function update($caseID, $testtasks = array())
{
$now = helper::now();
$oldCase = $this->getById($caseID);
@@ -897,7 +897,7 @@ class testcaseModel extends model
* @access public
* @return array
*/
public function batchUpdate($testtasks = '')
public function batchUpdate($testtasks = array())
{
$cases = array();
$allChanges = array();