diff --git a/module/testreport/zen.php b/module/testreport/zen.php index 575e49c049..5c00d05e4b 100644 --- a/module/testreport/zen.php +++ b/module/testreport/zen.php @@ -139,10 +139,10 @@ class testreportZen extends testreport * @param int $productID * @param object $task * @param string $method - * @access protected + * @access public * @return array */ - protected function assignTesttaskReportData(int $objectID, string $begin = '', string $end = '', int $productID = 0, ?object $task = null, string $method = 'create'): array + public function assignTesttaskReportData(int $objectID, string $begin = '', string $end = '', int $productID = 0, ?object $task = null, string $method = 'create'): array { $begin = !empty($begin) ? date("Y-m-d", strtotime($begin)) : $task->begin; $end = !empty($end) ? date("Y-m-d", strtotime($end)) : $task->end; @@ -185,10 +185,10 @@ class testreportZen extends testreport * @param string $begin * @param string $end * @param int $executionID - * @access protected + * @access public * @return array */ - protected function assignProjectReportDataForCreate(int $objectID, string $objectType, string $extra, string $begin = '', string $end = '', int $executionID = 0): array + public function assignProjectReportDataForCreate(int $objectID, string $objectType, string $extra, string $begin = '', string $end = '', int $executionID = 0): array { $owners = array(); $buildIdList = array();