* Remove the strong typing of the delete method.

This commit is contained in:
wangxuepeng
2023-08-23 06:17:31 +00:00
parent bba01e6d3e
commit dccc406180
+1 -1
View File
@@ -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();