From dccc4061808a2c7bf9fc62378ec9efeba18b3127 Mon Sep 17 00:00:00 2001 From: wangxuepeng Date: Wed, 23 Aug 2023 06:17:25 +0000 Subject: [PATCH] * Remove the strong typing of the delete method. --- module/testsuite/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testsuite/model.php b/module/testsuite/model.php index 5617d99512..fe72df0cc9 100644 --- a/module/testsuite/model.php +++ b/module/testsuite/model.php @@ -308,7 +308,7 @@ class testsuiteModel extends model * @access public * @return bool */ - public function delete(int $suiteID, string $table = ''): bool + public function delete($suiteID, $table = '') { parent::delete(TABLE_TESTSUITE, $suiteID); $this->dao->delete()->from(TABLE_SUITECASE)->where('suite')->eq($suiteID)->exec();