* Optimize code.

This commit is contained in:
wangyuting
2025-11-20 14:07:09 +08:00
parent 3f0eda387b
commit 7b3f5e7e66
2 changed files with 44 additions and 73 deletions
+3 -2
View File
@@ -10,10 +10,11 @@ class testtaskZen extends testtask
* @param int|string $branch
* @param int $projectID
* @param int $executionID
* @access protected
* @param object $testtask
* @access public
* @return void
*/
protected function setMenu(int $productID, int|string $branch, int $projectID, int $executionID)
public function setMenu(int $productID, int|string $branch, int $projectID, int $executionID, object $testtask = null)
{
if($this->app->tab == 'project')
{