* Compatible for php8.1.

This commit is contained in:
wangyidong
2022-08-29 11:19:31 +08:00
parent 0fc0a2684e
commit 8d56ef8891
15 changed files with 1121 additions and 1118 deletions
+3 -3
View File
@@ -58,7 +58,7 @@ class executionTest
* @access public
* @return array
*/
public function createObject($param = array(), $project, $dayNum, $days)
public function createObject($param = array(), $project = '', $dayNum = '', $days = '')
{
$products = array('');
$plans = array('');
@@ -1511,7 +1511,7 @@ class executionTest
* @access public
* @return array
*/
public function getCanCopyObjectsTest($projectID = 0, $count)
public function getCanCopyObjectsTest($projectID = 0, $count = 0)
{
$object = $this->objectModel->getCanCopyObjects($projectID);
@@ -1601,7 +1601,7 @@ class executionTest
* @access public
* @return array
*/
public function addProjectMembersTest($projectID = 0, $executionID, $count)
public function addProjectMembersTest($projectID = 0, $executionID = 0, $count = 0)
{
global $tester;
$tester->dbh->query("delete from zt_team where root = $projectID");